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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #14394: No error raised in IN-clause when commas are missing
Дата
Msg-id 20161024190913.q2uzca5gt2sb72ni@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #14394: No error raised in IN-clause when commas are missing  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #14394: No error raised in IN-clause when commas are missing
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: BUG #14393: Querry plan creation time is too long