On Thu, Jun 2, 2011 at 11:17 AM, HuangQi <huangq...@gmail.com> wrote: > Hi, thanks a lot for your ideas. But I've done all these things. I've > checked the gram.y and kwlist.h files many times but can not find what's > wrong. So is there any possibility that the problem comes from something > after parser, though it seems it should comes from parser?
It seems very unlikely, but you could probably find out the answer yourself by using a debugger. Set a breakpoint on errfinish and see where the error gets thrown from. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers