Re: Is this a bug ?

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Is this a bug ?
Дата
Msg-id 20191023190334.GB26674@hjp.at
обсуждение исходный текст
Ответ на Re: Is this a bug ?  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: Is this a bug ?  (Gaetano Mendola <mendola@gmail.com>)
Список pgsql-general
On 2019-10-23 17:20:07 +0100, Geoff Winkless wrote:
> For what it's worth, I can see a value to having
>
> SELECT 'this is quite a long string'
>                'which I've joined together '
>                'across multiple lines';
>
> although the advantage of it vs using a concat operator is slim.

True. However, concatenation of string literals by juxtaposition isn't
specific to SQL. Two other well known languages where this works (even
without a newline) are C and Python.

        hp

--
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/>

Вложения

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

Предыдущее
От: Stuart McGraw
Дата:
Сообщение: Re: jsonb_set() strictness considered harmful to data
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: Is this a bug ?