pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Pantelis Theodosiou <ypercube@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: andreas.imboden@bl.ch, "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing
Date: Mon, 24 Oct 2016 16:09:13 -0300
Message-ID: <20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql> (raw)
In-Reply-To: <CAKFQuwas7TB+NrZEbom8x4LUNP5Ymhqo5LjGs2Eg98a3kvHOSA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

David G. Johnston wrote:

> ​​Our docs state we (effectively...) replace comments with a single
> space...is this (or can it cause) an incompatibility?
> 
> https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS

No, because that space is outside the string literal.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)

Message-ID: <20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql>
Permalink:  ../20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql/
Also on:    postgresql.org/message-id/20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql

 · 

reply

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, david.g.johnston@gmail.com, ypercube@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing
  In-Reply-To: <20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql>
  References: <CAKFQuwas7TB+NrZEbom8x4LUNP5Ymhqo5LjGs2Eg98a3kvHOSA@mail.gmail.com> <20161024190913.q2uzca5gt2sb72ni@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