"Valentine Gogichashvili" <val...@gmail.com> writes: > When contrib/intarray module - operation (intarray_del_elem) returns an > empty array, is not supposed to be empty
This isn't really contrib/intarray's fault, it's a symptom of the general question of what an "empty" array is. See thread here: http://archives.postgresql.org/pgsql-hackers/2008-10/msg01033.php Given the lack of consensus about how to change the behavior, I wouldn't recommend holding your breath waiting for a fix --- and in any case we'd not likely risk back-patching any such change. Instead of testing for equality to '{}' you'd probably be better off testing the array dimensions, as suggested here: http://archives.postgresql.org/pgsql-general/2008-10/msg00920.php regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs