Re: [HACKERS] Overlap operators for ARRAY and NULLs

2011-03-10 Thread Bruce Momjian
I have added a link to this from the exiting TODO item: Improve handling of NULLs in arrays * BUG #4509: array_cat's null behaviour is inconsistent * http://archives.postgresql.org/pgsql-hackers/2010-11/msg01040.php --

[HACKERS] Overlap operators for ARRAY and NULLs

2010-11-17 Thread Itagaki Takahiro
There might be inconsistency in overlap operators for array types ( <@, @>, and && ) when the argument arrays contain NULLs. - SELECT 2 = ANY (ARRAY[1, NULL]) => NULL - SELECT ARRAY[2] <@ ARRAY[1, NULL] => false NULL means "unknown" in definition, so should it return NULL rather than false? I