Re: [COMMITTERS] pgsql: Add new keywords SNAPSHOT and TYPES to the keyword list in gram. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [COMMITTERS] pgsql: Add new keywords SNAPSHOT and TYPES to the keyword list in gram.
Date
Msg-id 1328795101-sup-3135@alvh.no-ip.org
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Add new keywords SNAPSHOT and TYPES to the keyword list in gram.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Heikki Linnakangas's message of jue feb 09 06:42:12 -0300 2012:
> Add new keywords SNAPSHOT and TYPES to the keyword list in gram.y
>
> These were added to kwlist.h as unreserved keywords in separate patches,
> but authors forgot to add them to the corresponding list in gram.y.
> Because of that, even though they were supposed to be unreserved keywords,
> they could not be used as identifiers. src/tools/check_keywords.pl is your
> friend.

I wondered a couple of weeks ago if we could, instead, generate the
lists in gram.y from kwlist.h.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_receivexlog and sync rep Re: Updated version of pg_receivexlog
Next
From: Robert Haas
Date:
Subject: Re: Progress on fast path sorting, btree index creation time