On Tue, Apr 11, 2017 at 12:17 AM, Andrew Gierth <and...@tao11.riddles.org.uk> wrote: >>>>>> "Tom" == Tom Lane <t...@sss.pgh.pa.us> writes: > > >> First is contrib/intarray, _AGAIN_ (see past bugs such as #7730): > >> ... > >> I plan to fix this one properly, unless anyone has any objections. > > Tom> Just to clarify, what do you think is "properly"? > > I would say, that any time an intarray function returns an empty result > it should be the standard 0-dimensional representation that every other > array operation uses. The intarray functions all seem already able to > take such values as inputs. Also there should be regression tests for > this (none of intarray's existing tests have any empty arrays at all).
This all sounds reasonable to me. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers