Re: possible bug in 8.4

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: possible bug in 8.4
Дата
Msg-id 87tz91l1op.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: possible bug in 8.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: possible bug in 8.4
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Gregory Stark <stark@enterprisedb.com> writes:
>> I think Postgres can't do better because there could be a NULL in the
>> subquery. If there's a NULL in the subquery then no record would match.
>
> Yeah.  NOT IN does not have the right semantics to become an antijoin.

If we noticed that the columns in the subquery are all guaranteed to be not
null could we do it then?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's RemoteDBA services!


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