Skip site navigation (1) Skip section navigation (2)

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

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Separate the key word list that lived in keywords.c into a new
Date: 2009-03-07 00:13:58
Message-ID: 20090307001359.16ACB755AA5@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Alvaro HerreraDate: 2009-03-07 02:09:22
Subject: pgsql: Avoid MSVC breakage caused by my previous commit by not using a
Previous:From: Tom LaneDate: 2009-03-05 23:06:45
Subject: pgsql: Teach the planner to support index access methods that only

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group