Re: bug: evil autoConcat when each string is on new line

From: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
To: Jan Skydánek <jan(dot)skydanek(at)betsys(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: bug: evil autoConcat when each string is on new line
Date: 2019-04-24 11:56:40
Message-ID: 224cee67-eb67-09b8-b78c-2c65cbcddec0@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2019-04-24 12:44:59 Re: bug: evil autoConcat when each string is on new line
Previous Message Jan Skydánek 2019-04-24 11:35:03 bug: evil autoConcat when each string is on new line