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

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: BUG #14394: No error raised in IN-clause when commas are missing
Дата
Msg-id 20161024144420.iuso6q32q2npgnkb@depesz.com
обсуждение исходный текст
Ответ на BUG #14394: No error raised in IN-clause when commas are missing  (andreas.imboden@bl.ch)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14394: No error raised in IN-clause when commas are missing
Следующее
От: Erik Rijkers
Дата:
Сообщение: Re: BUG #14394: No error raised in IN-clause when commas are missing