Re: Is this a bug ?

2019-10-23 Thread Gaetano Mendola
On Wed, Oct 23, 2019 at 5:55 PM Ron  wrote:
> No doubt: it's a bug, no matter what the Pg devs say.

select 'a'
'b'  = 'ab'

this is what SQL mandates

You should submit a complain to SQL guys

-- 
cpp-today.blogspot.com




Re: Is this a bug ?

2019-10-23 Thread Gaetano Mendola
On Wed, Oct 23, 2019 at 9:03 PM Peter J. Holzer  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