On Tue, Apr 11, 2017 at 12:17 AM, Andrew Gierth <[email protected]> wrote: >>>>>> "Tom" == Tom Lane <[email protected]> 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 ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
