aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parser.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-19 21:50:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-19 21:50:09 +0000
commit85128e5d56f45558634331b171acaa67ce7ed028 (patch)
tree31b08702ee5aad9989f1103b657f7df1c11e0734 /src/include/parser/parser.h
parent22c922269f5f8a80267389e1c879c0b65fbba902 (diff)
downloadpostgresql-85128e5d56f45558634331b171acaa67ce7ed028.tar.gz
postgresql-85128e5d56f45558634331b171acaa67ce7ed028.zip
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.
Diffstat (limited to 'src/include/parser/parser.h')
-rw-r--r--src/include/parser/parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/parser/parser.h b/src/include/parser/parser.h
index 3211da09dfc..cbe879302fc 100644
--- a/src/include/parser/parser.h
+++ b/src/include/parser/parser.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.24 2009/01/01 17:24:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.25 2009/04/19 21:50:08 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,4 +18,6 @@
extern List *raw_parser(const char *str);
+extern char *pg_parse_string_token(const char *token);
+
#endif /* PARSER_H */