Re: string_to_array with an empty input string

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: string_to_array with an empty input string
Дата
Msg-id AANLkTin9UcHocKEgwCbcaArfMnhN2t5xHwSFLwWEbrK1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: string_to_array with an empty input string  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: string_to_array with an empty input string  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
On 10 August 2010 19:48, David E. Wheeler <david@kineticode.com> wrote:
> On Aug 10, 2010, at 11:46 AM, Thom Brown wrote:
>
>> I, personally, would expect an empty array output given an empty
>> input, and a null output for a null input.
>
> +1

Agreed. After all, the result isn't indeterminate - it's an empty
array. Some people might think that it's useful for the result to be
NULL, but they'd probably also think that it's useful for an empty
string to be NULL.

-- 
Regards,
Peter Geoghegan


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: 8.3 to 8.4 Upgrade issues
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.3 to 8.4 Upgrade issues