agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Bruce Taneja. <aataneja@cs.mtu.edu>
To: postgres@postgres.Berkeley.EDU
Cc: andrew@CS.Berkeley.EDU
Subject: Re: size of string in APPEND
Date: Fri, 1 Jul 1994 19:45:52 -0400 (EDT)
Message-ID: <9407012345.AA05202@cs.mtu.edu> (raw)
> > The back end crashes when the size of i/p string for
> > a defined ADT is approx > 100 ..
> > i.e APPEND ntable (a="some_string_>_100_char_long"::ADT) \g
>
> > causes some problems causing backend to "not respond" ..
>
> this is just postgres' friendly way of informing you the untimely death of
> the backend.
>
> > I believe the input string (char*) in postgres is posssibly
> > m(p)alloced to = 100 (or some thing like that ) ..
>
> no, the query buffer is 8KB. Besides, you'll get a message from the parser
> (probably telling you about an unterminated string) instead of crashing the
Can you CONFIRM the 8KB buffer for postgres version 4.1 ??
> backend.
> I suspect the bug is in your ADT input function. Look at it again.
>
The reason I suspect postgres is because I have another copy of my
which works like a piece of cake .. for all my various sized input
strings, ..
however the monitor will APPEND only strings of size <100 , and
starts giving trouble in susequent (not the long stringed append!) appends
and .. once the backend does "not respond", then monitor hangs, ..
Even on exiting from monitor with a ^C and restarting up monitor
(even tried killing postmaster & restarting it), and running
ANY other command (on that particular data base) will cause monitor
to hang ..
help!
Bruce
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: aataneja@cs.mtu.edu, andrew@CS.Berkeley.EDU
Subject: Re: size of string in APPEND
In-Reply-To: <9407012345.AA05202@cs.mtu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox