Re: proposal: support empty string as separator for string_to_array

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: support empty string as separator for string_to_array
Дата
Msg-id 13100.1248544886@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: support empty string as separator for string_to_array  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/7/25 Tom Lane <tgl@sss.pgh.pa.us>:
>> There already is a definition for what string_to_array does with an
>> empty field separator, and that is not it.

> I thing, so nobody use empty separator in string_to_array, because it
> does nothing useful.

According to you, maybe not.  But perhaps whoever coded the function
originally had a use-case in mind, or people may have come up with
one since then.  In any case we have a perfectly good answer available
for anyone who wants this behavior.  I see no reason to change here.
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: support empty string as separator for string_to_array
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: mixed, named notation support