| От | Peter Eisentraut |
|---|---|
| Тема | Re: Doing psql's lexing with flex |
| Дата | |
| Msg-id | 200402181833.59303.peter_e@gmx.net обсуждение |
| Ответ на | Re: Doing psql's lexing with flex (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Doing psql's lexing with flex
|
| Список | pgsql-patches |
Tom Lane wrote: > Imagine for example > \set foo '\c mydb' > blah :foo bar > The existing code would interpret this as > blah \c mydb bar > but my patch as it stands would behave very strangely --- the \c > command would see bar as its argument and then 'mydb' would be > regurgitated after HandleSlashCommand finishes. Feel free (or encouraged) to change the old behavior. (Of course, the new behavior needs to adjustments, too.) Generally, I think a variable should just stand for a data value and should not result in a slash command being generated.
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера