Re: Is this a bug ?

From: Gaetano Mendola <mendola(at)gmail(dot)com>
To: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Is this a bug ?
Date: 2019-10-23 19:15:28
Message-ID: CAJycT5pCxDcVK8X9Lte4VkjT52cayvT2Ns+zD-RyyBGZ3HSB0w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 23, 2019 at 9:03 PM Peter J. Holzer <hjp-pgsql(at)hjp(dot)at> wrote:
>
> 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.

And C++ as well

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laiszner Tamás 2019-10-23 19:32:30 Composite type storage overhead
Previous Message Gaetano Mendola 2019-10-23 19:14:35 Re: Is this a bug ?