From: hubert depesz lubaczewski <depesz@depesz.com>
To: andreas.imboden@bl.ch
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing
Date: Mon, 24 Oct 2016 16:44:21 +0200
Message-ID: <20161024144420.iuso6q32q2npgnkb@depesz.com> (raw)
In-Reply-To: <20161024142841.1423.19672@wrigleys.postgresql.org>
References: <20161024142841.1423.19672@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Mon, Oct 24, 2016 at 02:28:41PM +0000, andreas.imboden@bl.ch wrote:
> bug description:
> in list with new line instead of comma produces incorrect result.
> should instead report a syntax error message
This is not a bug.
Please check:
https://www.postgresql.org/docs/9.6/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS
Specifically part: 4.1.2.1. String Constants.
depesz
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: depesz@depesz.com, andreas.imboden@bl.ch
Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing
In-Reply-To: <20161024144420.iuso6q32q2npgnkb@depesz.com>
References: <20161024142841.1423.19672@wrigleys.postgresql.org> <20161024144420.iuso6q32q2npgnkb@depesz.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