Re: string || NULL ambiguity

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: "Thomas T. Thai" <tom@minnesota.com>, neilc@samurai.com, alvherre@dcc.uchile.cl, pgsql-hackers@postgresql.org
Date: 2003-03-20T14:55:03Z
Lists: pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> On Thu, 20 Mar 2003, Thomas T. Thai wrote:
>> Note the error: "ERROR:  Void value" above.  Why is that happening?

> That's because NULL is forbidden for txtidx. We'll fix that.

Please note that an empty string is not the same as NULL.  The error
message in txtidx_in appears to be griping about an empty string,
not NULL.

			regards, tom lane