Re: Possible bug? WAS :Bad (null) varchar() external representation.

Поиск
Список
Период
Сортировка
От Justin Clift
Тема Re: Possible bug? WAS :Bad (null) varchar() external representation.
Дата
Msg-id 3A5E6B9B.2E45D429@bigpond.net.au
обсуждение исходный текст
Ответ на Bad (null) varchar() external representation  (Justin Clift <aa2@bigpond.net.au>)
Ответы Re: Possible bug? WAS :Bad (null) varchar() external representation.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "SELECT" problem on 7.0.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Possible bug? WAS :Bad (null) varchar() external representation.