summaryrefslogtreecommitdiff
path: root/src/include/parser/gramparse.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-11 19:15:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-11 19:15:36 +0000
commit637028afe17b9616d279d13d9fc5d6df1ecf369b (patch)
tree1e95735e0563109cd859edf95e268a5287a97aae /src/include/parser/gramparse.h
parent3fdeb189e977ebe29ee658592d07930e016dd031 (diff)
downloadpostgresql-637028afe17b9616d279d13d9fc5d6df1ecf369b.tar.gz
Code review for standard_conforming_strings patch. Fix it so it does not
throw warnings for 100%-SQL-standard constructs, clean up some minor infelicities, try to un-break ecpg to the best of my ability. (It's not clear how ecpg is going to find out the setting of standard_conforming_strings, though.) I think pg_dump still needs work, too.
Diffstat (limited to 'src/include/parser/gramparse.h')
-rw-r--r--src/include/parser/gramparse.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h
index 13af69116c..8430ad8c8e 100644
--- a/src/include/parser/gramparse.h
+++ b/src/include/parser/gramparse.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.34 2006/03/14 22:48:22 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.35 2006/05/11 19:15:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,6 +27,11 @@
*/
#define YYLTYPE int
+/* GUC variables in scan.l (every one of these is a bad idea :-() */
+extern bool escape_string_warning;
+extern bool standard_conforming_strings;
+
+
/* from scan.l */
extern void scanner_init(const char *str);
extern void scanner_finish(void);