Re: Stupid question: concatenating strings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stupid question: concatenating strings
Дата
Msg-id 6886.971918329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Stupid question: concatenating strings  (Thomas Good <tomg@q8.nrnet.org>)
Ответы Re: Stupid question: concatenating strings
Список pgsql-novice
Thomas Good <tomg@q8.nrnet.org> writes:
> The || operator needs parentheses to concat > 2 items in Pg 6.3.2.
> Has this been fixed in subsequent versions?

You're still on 6.3.2?  Run, do not walk, to your nearest archive
site for an update ...

Yes, || is marked left-associative in more recent versions.

regression=# select 'a' || 'b' || 'c';
 ?column?
----------
 abc
(1 row)

            regards, tom lane

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