Re: bug: evil autoConcat when each string is on new line - Mailing list pgsql-bugs

From Vik Fearing
Subject Re: bug: evil autoConcat when each string is on new line
Date
Msg-id 224cee67-eb67-09b8-b78c-2c65cbcddec0@2ndquadrant.com
Whole thread Raw
In response to bug: evil autoConcat when each string is on new line  (Jan Skydánek <jan.skydanek@betsys.com>)
List pgsql-bugs
On 24/04/2019 13:35, Jan Skydánek wrote:
> Does not work (as expected):
> SELECT 'aaa' 'bbb' 'ccc';
> 
> Works (definitely NOT expected):
> SELECT
> 'aaa'
> 'bbb'
> 'ccc'
> ; -- result is: 'aaabbbccc'
> 
> 
> I really hope this behavior is not intentional.
Hi.

Yes, this behavior is intentional as mandated by the SQL spec.
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-bugs by date:

Previous
From: Jan Skydánek
Date:
Subject: bug: evil autoConcat when each string is on new line
Next
From: Alvaro Herrera
Date:
Subject: Re: bug: evil autoConcat when each string is on new line