Re: strange IS NULL behaviour - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: strange IS NULL behaviour
Date
Msg-id 20130905012628.GV21874@momjian.us
Whole thread Raw
In response to Re: strange IS NULL behaviour  (Bruce Momjian <bruce@momjian.us>)
Responses Re: strange IS NULL behaviour
List 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 by date:

Previous
From: Noah Misch
Date:
Subject: Re: Frontend/backend protocol improvements proposal (request).
Next
From: Quan Zongliang
Date:
Subject: Re: improve Chinese locale performance