Re: subselect on nonexistent column succeeds!!?!

Поиск
Список
Период
Сортировка
От James Robinson
Тема Re: subselect on nonexistent column succeeds!!?!
Дата
Msg-id D358DF8C-CB96-11D8-8888-000A9566A412@socialserve.com
обсуждение исходный текст
Ответ на subselect on nonexistent column succeeds!!?!  (James Robinson <jlrobins@socialserve.com>)
Список pgsql-bugs
Aha. Well, you learn something new every day. Yes, the behavior is
indeed like "contact_id is not null", which was true for all rows in
users, which explains why I lost all my data in realtycompany_contacts.

Thank goodness for backups. Many thanks!

James

On Jul 1, 2004, at 3:35 PM, Stephan Szabo wrote:

> AFAIK the spec requires that subselects like that can reference outer
> columns so contact_id inside the subselect refers to the outer
> contact_id
> column which does exist (which makes the effective behavior of the
> above
> clause the same as contact_id is not null I think)
>
----
James Robinson
Socialserve.com

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem to increase name data length
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Possible bug?