Re: BUG #15273: Lexer bug with UESCAPE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15273: Lexer bug with UESCAPE
Дата
Msg-id 18952.1531343715@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15273: Lexer bug with UESCAPE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #15273: Lexer bug with UESCAPE  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Oh, and one other thing:

regression=# select 'foo'
regression-# 'bar';
 ?column? 
----------
 foobar
(1 row)

regression=# select 'foo' -- baz
'bar';
 ?column? 
----------
 foobar
(1 row)

regression=# select 'foo' /* baz */
'bar';
ERROR:  syntax error at or near "'bar'"
LINE 2: 'bar';
        ^

So we already have the exact same restriction in all multi-line forms
of literal.  That's far older than the UESCAPE business, and nobody's
complained about it that I can recall.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15273: Lexer bug with UESCAPE
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15277: ts_headline strips things that look like HTML tags and itcannot be disabled