From: Vik Fearing <vik.fearing@2ndquadrant.com>
To: Jan Skydánek <jan.skydanek@betsys.com>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: bug: evil autoConcat when each string is on new line
Date: Wed, 24 Apr 2019 13:56:40 +0200
Message-ID: <224cee67-eb67-09b8-b78c-2c65cbcddec0@2ndquadrant.com> (raw)
In-Reply-To: <CAGYHQk6OkeFg1f=7LqtsMRpacJL0Y0y=yeM28dRMG5FKtvSf_g@mail.gmail.com>
References: <CAGYHQk6OkeFg1f=7LqtsMRpacJL0Y0y=yeM28dRMG5FKtvSf_g@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: vik.fearing@2ndquadrant.com, jan.skydanek@betsys.com
Subject: Re: bug: evil autoConcat when each string is on new line
In-Reply-To: <224cee67-eb67-09b8-b78c-2c65cbcddec0@2ndquadrant.com>
References: <CAGYHQk6OkeFg1f=7LqtsMRpacJL0Y0y=yeM28dRMG5FKtvSf_g@mail.gmail.com> <224cee67-eb67-09b8-b78c-2c65cbcddec0@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox