]> granicus.if.org Git - postgresql/commit
Separate the key word list that lived in keywords.c into a new header file
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 7 Mar 2009 00:13:58 +0000 (00:13 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 7 Mar 2009 00:13:58 +0000 (00:13 +0000)
commit328d235571616669273979dd1b4c7ace018efc0b
tree2b0e99a747066d395c40baa06ecbea61b334906a
parent00ce73778baa496f979b0dce91b0dbb5adf0cd8d
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.
src/backend/parser/Makefile
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/parser/kwlookup.c [new file with mode: 0644]
src/bin/pg_dump/Makefile
src/bin/pg_dump/keywords.c [new file with mode: 0644]
src/bin/psql/Makefile
src/bin/scripts/Makefile
src/include/parser/kwlist.h [new file with mode: 0644]
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/keywords.c [new file with mode: 0644]