Re: BUG #4076: "IS NOT NULL (IS NULL)" return wrong answer even where all fields are NULL(or NOT NULL).

Поиск
Список
Период
Сортировка
От Tatsuhito Kasahara
Тема Re: BUG #4076: "IS NOT NULL (IS NULL)" return wrong answer even where all fields are NULL(or NOT NULL).
Дата
Msg-id 47F2FC8A.9070408@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: BUG #4076: "IS NOT NULL (IS NULL)" return wrong answer even where all fields are NULL(or NOT NULL).  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi.

Tom Lane wrote:
>> I think following fix is related..
>> http://archives.postgresql.org/pgsql-committers/2006-09/msg00439.php
>
> Yup, it is.  Why are you reporting this?

Document(for 8.1.11) said  "A row value is considered not null if it has at
least one field that is not null. ".
http://www.postgresql.org/docs/8.1/static/functions-comparisons.html#AEN13425

But "IS NOT NULL" action seemed  that it also evaluate the row is not null
if the row has no field that is not null in such case.

I didn't know the action is valid or invalid ..

So I reported this.

Best regards.
--
NTT OSS Center
Tatsuhito Kasahara

kasahara.tatsuhito@oss.ntt.co.jp

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgre cant start
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #4083: Return type of MAX and MIN of a VARCHAR column is TEXT