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 12754.1248543329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на proposal: support empty string as separator for string_to_array  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы 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:
> I have one idea, that should simplify string to char array
> transformation. The base is idea: between every char is empty string,
> so empty string is regular separator for string_to_array function.

There already is a definition for what string_to_array does with an
empty field separator, and that is not it.  So this change would possibly
break existing applications.  It does not seem either intuitively
correct or useful enough to justify that --- particularly seeing that
there's already another way to get the effect.
        regards, tom lane


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

Предыдущее
От: Michael Paesold
Дата:
Сообщение: Re: Shouldn't psql -1 imply ON_ERROR_STOP?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Reserve the shared memory region during backend startup on