Add missing keywords to gram.y's unreserved_keywords list.
authorTom Lane <[email protected]>
Tue, 8 Mar 2011 21:43:02 +0000 (16:43 -0500)
committerTom Lane <[email protected]>
Tue, 8 Mar 2011 21:43:56 +0000 (16:43 -0500)
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

index d32e480357128bb7686b398da6b8216a216c2638..5b96b5b0df5e76b3720d7b11e604af5406ecc2ad 100644 (file)
@@ -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