Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 4AA904C3020000250002AC3D@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: RfD: more powerful "any" types  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> wrote:
> what is more readable?
> 
> select 'i=' || i || ', b=' || b || ', c=' || c ..
> 
> or
> 
> select format('i=%, b=%, c=%', i, b, c ..)
Seriously, those are about dead even for me.  The concatenation
might have a slight edge, particularly since I have the option, if
it gets out of hand, to do:
select 'i=' || i || ', b=' || b || ', c=' || c ..
-Kevin


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Ragged CSV import
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RfD: more powerful "any" types