Re: BUG #14394: No error raised in IN-clause when commas are missing - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #14394: No error raised in IN-clause when commas are missing
Date
Msg-id 20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #14394: No error raised in IN-clause when commas are missing  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-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

pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #14394: No error raised in IN-clause when commas are missing
Next
From: Jeff Janes
Date:
Subject: Re: BUG #14393: Querry plan creation time is too long