Re: BUG #2164: Very minor, very low priority SQL parser 'bug' with /* */ comments

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #2164: Very minor, very low priority SQL parser 'bug' with /* */ comments
Дата
Msg-id 200601110839.23987.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #2164: Very minor, very low priority SQL parser 'bug' with /* */ comments  ("John Engelhart" <johne_ganz@yahoo.com>)
Список pgsql-bugs
John Engelhart wrote:
> When this piece of code is wrapped fully inside a /* */ style comment block,
> the parser interprets the */ inside the substring() function as the end of
> comment.  'Expected' behavior (principle of least astonishment, at least) is
> that the .*/ part inside the substring function not trigger the end of
> comments.

The SQL standard does not provide for this kind of exception, so there
is no real use in discussing it.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2162: Same as bug #1679 - finite() - unresolved symbol
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2164: Very minor, very low priority SQL parser 'bug' with /* */ comments