Re: strange IS NULL behaviour
От | Bruce Momjian |
---|---|
Тема | Re: strange IS NULL behaviour |
Дата | |
Msg-id | 20130905012628.GV21874@momjian.us обсуждение исходный текст |
Ответ на | Re: strange IS NULL behaviour (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: strange IS NULL behaviour
|
Список | pgsql-hackers |
On Tue, Sep 3, 2013 at 09:32:44PM -0400, Bruce Momjian wrote: > In this test, SELECT NULL (which internally would produce SELECT > ROW(NULL)), returns TRUE, while SELECT ROW(NULL) and further nesting > returns false. > > This has made me adjust my goal and change it so SELECT ROW(NULL) IS > NULL returns true, and any further nesting returns false. > > Attached is a patch which accomplishes this, and a documentation update. I have not heard any feedback on this patch, so I would like to apply it to give us a nested ROW/IS NULL API we can document. It would have to be marked in the release notes as a backward incompatibility. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-hackers по дате отправления: