| От | Marko Kreen |
|---|---|
| Тема | Re: binary operators on integers |
| Дата | |
| Msg-id | 20001024223844.A8271@l-t.ee обсуждение исходный текст |
| Ответ на | Re: binary operators on integers (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-patches |
On Tue, Oct 24, 2000 at 10:23:55PM +0200, Peter Eisentraut wrote: > This patch was installed, with xor as "#". The parser still needs work. > Besides the known issue of "|", this also parses funny: > > => select 5 & ~ 6; > ERROR: Unable to identify a right operator '&' for type 'int4' I have known that from the beginning. On first patch I did not get it work correctly, so in second patch I disabled all gram.y hack altogether. So this patch does not change anything in parser/. At the moment it should be used: select 5 & (~ 6); I can hack the gram.y and scan.l to get those operators to work but as I saw no consensus has been reached in -hackers whether and how it should be solved globally? -- marko
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера