Re: [HACKERS] Meaning of keyword category list in src/backend/parser/gram.y

2013-05-06 Thread soroosh sardari
Dear Amit yes, my new constrains must not be name of variable. I moved new keyword to reserved keyword. Problem solved :D Regards Soroosh On Mon, May 6, 2013 at 10:17 AM, Amit Kapila wrote: > On Sunday, May 05, 2013 1:03 PM soroosh sardari wrote: > > Hi > > I'm trying to add a new constrain

Re: [HACKERS] Meaning of keyword category list in src/backend/parser/gram.y

2013-05-05 Thread Amit Kapila
On Sunday, May 05, 2013 1:03 PM soroosh sardari wrote: > Hi > I'm trying to add a new constraint to column constraint. > I add a new keyword ro kwlist.h and gram.y, and also edit ColConstraintElem. > The problem is i don't know what is "Keyword category lists" at the end of gram.y. Keyword categor

[HACKERS] Meaning of keyword category list in src/backend/parser/gram.y

2013-05-05 Thread soroosh sardari
Hi I'm trying to add a new constraint to column constraint. I add a new keyword ro kwlist.h and gram.y, and also edit ColConstraintElem. The problem is i don't know what is "Keyword category lists" at the end of gram.y. when I added the new keyword in "unreserved_keyword", shift/reduce and reduce