diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-11-05 23:24:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-11-05 23:24:27 +0000 |
commit | 593f4b854a8bb384547b8fa9854c73dcd88d4876 (patch) | |
tree | 7df8238f7a7eac1e4afcb11840b1f01e6abd2eb1 /src/include/parser/gramparse.h | |
parent | 45d7e04fce5c00b1242787bc0fc150f9ecaf029e (diff) | |
download | postgresql-593f4b854a8bb384547b8fa9854c73dcd88d4876.tar.gz postgresql-593f4b854a8bb384547b8fa9854c73dcd88d4876.zip |
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.
Diffstat (limited to 'src/include/parser/gramparse.h')
-rw-r--r-- | src/include/parser/gramparse.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h index df384a11caa..09c99091361 100644 --- a/src/include/parser/gramparse.h +++ b/src/include/parser/gramparse.h @@ -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; /* |