mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user