mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Don't treat NEW and OLD as reserved words anymore. For the purposes of rules
it works just as well to have them be ordinary identifiers, and this gets rid of a number of ugly special cases. Plus we aren't interfering with non-rule usage of these names. catversion bump because the names change internally in stored rules.
This commit is contained in:
@@ -11,7 +11,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/gramparse.h,v 1.48 2009/09/22 23:52:53 petere Exp $
|
||||
* $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.49 2009/11/05 23:24:26 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -93,8 +93,6 @@ typedef struct base_yy_extra_type
|
||||
*/
|
||||
|
||||
List *parsetree; /* final parse result is delivered here */
|
||||
|
||||
bool QueryIsRule; /* signals we are parsing CREATE RULE */
|
||||
} base_yy_extra_type;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user