Re: [HACKERS] Ongoing issues with representation of empty arrays

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [HACKERS] Ongoing issues with representation of empty arrays
Дата
Msg-id CAHyXU0weD_FHU1ymarG6XULjRzfbh8y_2daKUwUi=cg=rfYdZg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Ongoing issues with representation of empty arrays  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On Mon, Apr 10, 2017 at 11:17 PM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
>>>>>> "Tom" == Tom Lane <tgl@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).

Are there any impacts outside of intarray?

merlin



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [HACKERS] Ongoing issues with representation of empty arrays
Следующее
От: Michael Malis
Дата:
Сообщение: [HACKERS] Highly Variable Planning Times