Re: [COMMITTERS] pgsql: Add missing keywords to gram.y's unreserved_keywords list. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [COMMITTERS] pgsql: Add missing keywords to gram.y's unreserved_keywords list.
Date
Msg-id AANLkTikusYFg++-r9uu=2H7FWuHMP-o3DU-86FacAbtG@mail.gmail.com
Whole thread Raw
Responses Re: Re: [COMMITTERS] pgsql: Add missing keywords to gram.y's unreserved_keywords list.  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Re: [COMMITTERS] pgsql: Add missing keywords to gram.y's unreserved_keywords list.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Tue, Mar 8, 2011 at 4:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Add missing keywords to gram.y's unreserved_keywords list.
>
> We really need an automated check for this ... and did VALIDATE really
> need to become a keyword at all, rather than picking some other syntax
> using existing keywords?

I think we ought to try to do something about this, so that VALIDATE
doesn't need to become a keyword.

How about instead of VALIDATE CONSTRAINT we simply write ALTER
CONSTRAINT ... VALID?  (Patch attached, passes make check.)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Fwd: index corruption in PG 8.3.13
Next
From: Alvaro Herrera
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add missing keywords to gram.y's unreserved_keywords list.