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