pgsql: Refactor ecpg grammar so that it uses the core grammar's - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Refactor ecpg grammar so that it uses the core grammar's
Date
Msg-id 20091121054412.BC17A753FB7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/preproc:
        ecpg.trailer (r1.9 -> r1.9.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/ecpg.trailer?r1=1.9&r2=1.9.2.1)
        ecpg.type (r1.1 -> r1.1.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/ecpg.type?r1=1.1&r2=1.1.2.1)
        parse.pl (r1.3 -> r1.3.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/parse.pl?r1=1.3&r2=1.3.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Refactor ecpg grammar so that it uses the core grammar's
Next
From: okbob@pgfoundry.org (User Okbob)
Date:
Subject: orafce - orafce: Remove include gramparse.h in plvlex.c.