postgres.git / summary / log / commit / refs
commit 3f7d24da16d32ad0fa5abf04b669e86a7d458160
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue Mar 08 21:43:02 2011 +0000
First released in: 9.1.0
Add missing keywords to gram.y's unreserved_keywords list.
We really need an automated check for this ... and did VALIDATE really
need to become a keyword at all, rather than picking some other syntax
using existing keywords?
src/backend/parser/gram.y | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index d32e4803571..5b96b5b0df5 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -11780,6 +11780,7 @@ unreserved_keyword:
| CLASS
| CLOSE
| CLUSTER
+ | COLLATION
| COMMENT
| COMMENTS
| COMMIT
@@ -11994,6 +11995,7 @@ unreserved_keyword:
| UPDATE
| VACUUM
| VALID
+ | VALIDATE
| VALIDATOR
| VALUE_P
| VARYING
[parent: a2f216547740]