Refactor ecpg grammar so that it uses the core grammar's unreserved_keyword

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1e925f49e7e885dbf3df81e275144b1e285acef6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-11-21T05:44:12Z
Releases: 8.4.2
Refactor ecpg grammar so that it uses the core grammar's unreserved_keyword
list, minus a few specific words that have to be treated specially.  This
replaces a hard-wired list of keywords that would have needed manual
maintenance, and was not getting it.  The 8.4 coding was already missing
these words, causing ecpg to incorrectly treat them as reserved words:
CALLED, CATALOG, DEFINER, ENUM, FOLLOWING, INVOKER, OPTIONS, PARTITION,
PRECEDING, RANGE, SECURITY, SERVER, UNBOUNDED, WRAPPER.  In HEAD we were
additionally missing COMMENTS, FUNCTIONS, SEQUENCES, TABLES.
Per gripe from Bosco Rama.

Files