summaryrefslogtreecommitdiff
path: root/src/include/parser/gramparse.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-27 17:38:46 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-27 17:38:46 +0000
commit0780ce6a93c1403e8d354906cdc49cd1cd21b364 (patch)
tree7d576ff5c8eb91fbdfe7cf82c2779cf9cbd75c6c /src/include/parser/gramparse.h
parent51b40f03a4001eaa0fe42df8f6567abe4bd32d21 (diff)
downloadpostgresql-0780ce6a93c1403e8d354906cdc49cd1cd21b364.tar.gz
Re-introduce the yylex filter function formerly used to support UNION
JOIN, which I removed in a recent fit of over-optimism that we wouldn't have any future use for it. Now it's needed to support disambiguating WITH CHECK OPTION from WITH TIME ZONE. As proof of concept, add stub grammar productions for WITH CHECK OPTION.
Diffstat (limited to 'src/include/parser/gramparse.h')
-rw-r--r--src/include/parser/gramparse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h
index 38f4b26f94..b61ceb0ac7 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.36 2006/05/21 20:10:42 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.37 2006/05/27 17:38:46 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -40,6 +40,9 @@ extern bool escape_string_warning;
extern bool standard_conforming_strings;
+/* from parser.c */
+extern int filtered_base_yylex(void);
+
/* from scan.l */
extern void scanner_init(const char *str);
extern void scanner_finish(void);