unfathomable comment in psqlscan.l

Поиск
Список
Период
Сортировка
От Robert Haas
Тема unfathomable comment in psqlscan.l
Дата
Msg-id 603c8f071001261035i5ff4a8das6a0ed1d2786dba6c@mail.gmail.com
обсуждение исходный текст
Ответы Re: unfathomable comment in psqlscan.l  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
While reviewing Pavel's patch for variable quoting in psql, I came
upon the following comment in psqlscan.l:
       /*        * The variable value is just emitted without any        * further examination.  This is consistent
withthe        * pre-8.0 code behavior, if not with the way that        * variables are handled outside backslash
commands.       */
 

I cannot figure out for the life of me what this is referring to.  It
seems to date back to 2004, when the old psql lexer was rewritten to
use flex.  But I can't figure out what "further examination" someone
might have expected, or how it's inconsistent with the how things are
"handled outside backslash commands".

Help?

...Robert


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Dividing progress/debug information in pg_standby, and stat before copy
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Review: listagg aggregate