Re: Hacking gram.y Error syntax error at or near "MERGEJOIN"
От | Pavel Stehule |
---|---|
Тема | Re: Hacking gram.y Error syntax error at or near "MERGEJOIN" |
Дата | |
Msg-id | BANLkTimD4wBtPSbnm_reQxSYrZDk5O1M6Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Hacking gram.y Error syntax error at or near "MERGEJOIN" (HuangQi <huangqiyx@gmail.com>) |
Ответы |
Re: Hacking gram.y Error syntax error at or near "MERGEJOIN"
|
Список | pgsql-hackers |
Hello you should to add new keywords to postgresql/src/include/parser/kwlist.h (depends on pg version) attention - keywords must be in alphabet order Regards Pavel Stehule 2011/6/2 HuangQi <huangqiyx@gmail.com>: > Hi, > I'm doing a hacking project which hacks the gram.y file and some other > so that postgres can execute some query plan language to run a particular > plan. I did some modifications and try run it. It compiled and installed > successfully. But when I was trying to run a MergeJoin operation with > keyword MERGEJOIN, it says "ERROR: syntax error at or near 'MERGEJOIN'". It > seems postgres didn't recognize this keyword. Is it caused by any error > inside gram.y? Or how can I trace this error? > > -- > Best Regards > Huang Qi Victor >
В списке pgsql-hackers по дате отправления: