Re: string_to_array, array_to_string function without separator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: string_to_array, array_to_string function without separator
Дата
Msg-id 14034.1552666535@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: string_to_array, array_to_string function without separator  (Chapman Flack <chap@anastigmatix.net>)
Ответы Re: string_to_array, array_to_string function without separator
Re: string_to_array, array_to_string function without separator
Список pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes:
> So the proposal seems roughly equivalent to making string_to_array's
> second parameter optional default null, and array_to_string's second
> parameter optional default ''.

In that case why bother?  It'll just create a cross-version compatibility
hazard for next-to-no keystroke savings.  If the cases were so common
that they could be argued to be sane "default" behavior, I might feel
differently --- but if you were asked in a vacuum what the default
delimiters ought to be, I don't think you'd say "no delimiter".

            regards, tom lane


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

Предыдущее
От: Mitar
Дата:
Сообщение: Re: Feature: triggers on materialized views
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: seems like a bug in pgbench -R