postgresql/contrib/intarray
Tom Lane fdf2dbda3f Fix assorted corner-case bugs in contrib/intarray.
The array containment operators now behave per mathematical expectation
for empty arrays (ie, an empty array is contained in anything).
Both these operators and the query_int operators now work as expected in
GiST and GIN index searches, rather than having corner cases where the
index searches gave different answers.

Also, fix unexpected failures where the operators would claim that an array
contained nulls, when in fact there was no longer any null present (similar
to bug #5784).  The restriction to not have nulls is still there, as
removing it would take a lot of added code complexity and probably slow
things down significantly.

Also, remove the arbitrary restriction to 1-D arrays; unlike the other
restriction, this was buying us nothing performance-wise.

Assorted cosmetic improvements and marginal performance improvements, too.
2011-01-09 00:39:21 -05:00
..
bench Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
data 1. Fixed error with empty array ( '{}' ), 2001-08-04 19:35:32 +00:00
expected Remove ill-considered (not to mention undocumented) attempt to make 2007-09-14 03:25:31 +00:00
sql Remove ill-considered (not to mention undocumented) attempt to make 2007-09-14 03:25:31 +00:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:22:40 -04:00
Makefile Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
_int.h Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_int.sql.in Update GIN support function definitions for contrib/intarray. 2011-01-07 23:35:48 -05:00
_int_bool.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_int_gin.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_int_gist.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_int_op.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_int_tool.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
_intbig_gist.c Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00
uninstall__int.sql Fix assorted corner-case bugs in contrib/intarray. 2011-01-09 00:39:21 -05:00