| От | Vadim B. Mikheev |
|---|---|
| Тема | Re: [HACKERS] subquery syntax broken |
| Дата | |
| Msg-id | 34D6D6B2.B44F2C33@sable.krasnoyarsk.su обсуждение |
| Ответ на | Re: [HACKERS] subquery syntax broken (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Thomas G. Lockhart wrote: > > > I believe it has to do with the fact that '=' has right precedence. > > Thomas, can you comment. Maybe we need to %right 'Op' at that point so > > it doesn't shift too early? > > No, the single-character operators each need their own code in the parser. > Check near line 2980 in the parser for examples from the "a_expr" syntax. You > just need to replicate the subselect "Op" definition blocks and substitute > each of '=', '<', and '>' in the copies. The existing "Op" code handles the Don't forget about ALL/ANY modifiers, too... > multi-character operators such as '<=' and '>='... Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера