| От | Thomas Lockhart |
|---|---|
| Тема | Re: [INTERFACES] Bug in parser? |
| Дата | |
| Msg-id | 389FC21B.6B0B3012@alumni.caltech.edu обсуждение |
| Ответ на | RE: [INTERFACES] Bug in parser? ("Axel at ansonic" <goddyna@ansonic.com.au>) |
| Список | pgsql-interfaces |
> * I see that the spec allows comments between segments of a string
> literal. This works in current code:
> regression=# select 'a string' -- zzz
> regression-# ' literal';
> ?column?
> ------------------
> a string literal
> (1 row)
> but I'm durned if I see where that behavior is implemented.
> Do you?
It used to be implemented in psql, and might still. Looks to me that
scan.l might be missing this case (which presumably you are thinking
also).
I'm still recalling the "line break" reasoning for concatenating
literals, but maybe that was just an example from the Date book rather
than the entire rule.
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера