Re: Is this a bug ? - Mailing list pgsql-general

From Gaetano Mendola
Subject Re: Is this a bug ?
Date
Msg-id CAJycT5pCxDcVK8X9Lte4VkjT52cayvT2Ns+zD-RyyBGZ3HSB0w@mail.gmail.com
Whole thread Raw
In response to Re: Is this a bug ?  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Responses Re: Is this a bug ?
List pgsql-general
On Wed, Oct 23, 2019 at 9:03 PM Peter J. Holzer <hjp-pgsql@hjp.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



pgsql-general by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Is this a bug ?
Next
From: Laiszner Tamás
Date:
Subject: Composite type storage overhead