From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Ongoing issues with representation of empty arrays |
Date: | 2017-05-02 18:59:14 |
Message-ID: | CA+Tgmob4z3Aq0bBC09LBCXv2cy8zYjuNKoSuKfa7T14kyB9unw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Apr 11, 2017 at 12:17 AM, Andrew Gierth
<andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
>>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2017-05-02 18:59:52 | Re: SCRAM authentication, take three |
Previous Message | Robert Haas | 2017-05-02 18:57:07 | Re: SCRAM authentication, take three |