From 3f7d24da16d32ad0fa5abf04b669e86a7d458160 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 8 Mar 2011 16:43:02 -0500
Subject: [PATCH] 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
-- 
GitLab