Re: [HACKERS] Subselects are in CVS...

Поиск
Список
Период
Сортировка
Искать
От
ocie@paracel.com
Тема
Re: [HACKERS] Subselects are in CVS...
Дата
Msg-id
9802131814.AA28986@dolomite.paracel.com
Ответ на
Subselects are in CVS... (Vadim B. Mikheev)
Список
Дерево обсуждения
Re: [HACKERS] Subselects are in CVS... "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
Impressive, just one comment:

> 5. I need in advice: if subquery introduced with NOT IN doesn't return
>    any tuples then qualification is failed, yes ?

I think this is backwards.  Consider the following statements:

"1 not in (1,2)" FALSE
"1 not in (2)" TRUE
"1 not in ()" ?

I would tend to think that the ? should be TRUE.  I.E. every value
qualifies as not in an empty list of tuples.  The second item was
true, so why should removing the 2 from the list make the statement
false?

Ocie Mitchell
В списке pgsql-hackers по дате отправления
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Unsubscribe
От: Bruce Momjian
Дата:
FAQ