Re: Possible bug? WAS :Bad (null) varchar() external representation. - Mailing list pgsql-sql

From Justin Clift
Subject Re: Possible bug? WAS :Bad (null) varchar() external representation.
Date
Msg-id 3A5E6B9B.2E45D429@bigpond.net.au
Whole thread Raw
In response to Bad (null) varchar() external representation  (Justin Clift <aa2@bigpond.net.au>)
Responses Re: Possible bug? WAS :Bad (null) varchar() external representation.
List pgsql-sql
Hi Tom,

I think you are right.  It does seem to barf on NULLS and
length(varchar), regardless.

Thanks for your assistance.

BTW - How do things normally get added to the FAQ?  I would like to add
something about length(varchar) and NULLS not working in PostgreSQL
7.0.x

Regards and best wishes,

Justin Clift
Database Administrator

Tom Lane wrote:
> 
> Justin Clift <aa2@bigpond.net.au> writes:
> > I haven't seen a mention of a maximum number of constraints of similar
> > applying to a table.  If so, then could someone please point me to it...
> 
> There is no such limit that I know of.
> 
> > Yet if I remove BOTH the "staff_details_phone_three" &
> > "staff_details_managers_notes" constraints it works  :
> 
> Are you absolutely certain that that's how it went?  I think the most
> likely story is just that you were hitting the length(varchar)-barfs-
> on-NULL bug, and got confused about which combinations you'd tried.
> 
>                         regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: "SELECT" problem on 7.0.3
Next
From: Tom Lane
Date:
Subject: Re: Possible bug? WAS :Bad (null) varchar() external representation.