]> granicus.if.org Git - postgresql/commit
Rethink the idea of having plpgsql depend on parser/gram.h. Aside from the
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Apr 2009 21:50:09 +0000 (21:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Apr 2009 21:50:09 +0000 (21:50 +0000)
commit85128e5d56f45558634331b171acaa67ce7ed028
tree31b08702ee5aad9989f1103b657f7df1c11e0734
parent22c922269f5f8a80267389e1c879c0b65fbba902
Rethink the idea of having plpgsql depend on parser/gram.h.  Aside from the
fact that this is breaking the MSVC build, it's probably not really a good
idea to expand the dependencies of gram.h any further than the core parser;
for instance the value of SCONST might depend on which bison version you'd
built with.  Better to expose an additional call point in parser.c, so
move what I had put into pl_funcs.c into parser.c.  Also PGDLLIMPORT'ify
the reference to standard_conforming_strings, per buildfarm results.
src/backend/parser/parser.c
src/include/parser/parser.h
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l