From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Jan Skydánek <jan.skydanek@betsys.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: bug: evil autoConcat when each string is on new line
Date: Wed, 24 Apr 2019 08:44:59 -0400
Message-ID: <20190424124459.GA26812@alvherre.pgsql> (raw)
In-Reply-To: <CAGYHQk6OkeFg1f=7LqtsMRpacJL0Y0y=yeM28dRMG5FKtvSf_g@mail.gmail.com>
On 2019-Apr-24, Jan Skydánek wrote:
> Works (definitely NOT expected):
> SELECT
> 'aaa'
> 'bbb'
> 'ccc'
> ; -- result is: 'aaabbbccc'
>
> I really hope this behavior is not intentional.
Actually it's the SQL standard that defines that it must work in exactly
that way.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, jan.skydanek@betsys.com
Subject: Re: bug: evil autoConcat when each string is on new line
In-Reply-To: <20190424124459.GA26812@alvherre.pgsql>
References: <CAGYHQk6OkeFg1f=7LqtsMRpacJL0Y0y=yeM28dRMG5FKtvSf_g@mail.gmail.com> <20190424124459.GA26812@alvherre.pgsql>
* 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