pgsql: Separate the key word list that lived in keywords.c into a new - Mailing list pgsql-committers

From alvherre@postgresql.org (Alvaro Herrera)
Subject pgsql: Separate the key word list that lived in keywords.c into a new
Date
Msg-id 20090307001359.16ACB755AA5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Separate the key word list that lived in keywords.c into a new header file
kwlist.h, to avoid having to link the backend object file into other programs
like pg_dump.  We can now simply symlink a single source file from the backend
(kwlookup.c, containing the shared routine ScanKeywordLookup) and compile it
locally, which is a lot cleaner.

Modified Files:
--------------
    pgsql/src/backend/parser:
        Makefile (r1.48 -> r1.49)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/Makefile?r1=1.48&r2=1.49)
        gram.y (r2.659 -> r2.660)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y?r1=2.659&r2=2.660)
        keywords.c (r1.210 -> r1.211)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/keywords.c?r1=1.210&r2=1.211)
    pgsql/src/bin/pg_dump:
        Makefile (r1.66 -> r1.67)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/Makefile?r1=1.66&r2=1.67)
    pgsql/src/bin/psql:
        Makefile (r1.61 -> r1.62)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/Makefile?r1=1.61&r2=1.62)
    pgsql/src/bin/scripts:
        Makefile (r1.40 -> r1.41)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/scripts/Makefile?r1=1.40&r2=1.41)
    pgsql/src/interfaces/ecpg/preproc:
        Makefile (r1.141 -> r1.142)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/Makefile?r1=1.141&r2=1.142)

Added Files:
-----------
    pgsql/src/backend/parser:
        kwlookup.c (r2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/kwlookup.c?rev=2.1&content-type=text/x-cvsweb-markup)
    pgsql/src/bin/pg_dump:
        keywords.c (r1.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/keywords.c?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/include/parser:
        kwlist.h (r1.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/parser/kwlist.h?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/interfaces/ecpg/preproc:
        keywords.c (r1.87)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/keywords.c?rev=1.87&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Teach the planner to support index access methods that only
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Avoid MSVC breakage caused by my previous commit by not using a