From ae9ac79b39d5ce0c28e13c47261d925b61701b66 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 22 Oct 2010 18:38:31 +0300 Subject: [PATCH] Add semicolon, missed in previous patch. And update the keyword list in the docs to reflect that OFF is now unreserved. Spotted by Tom Lane. --- doc/src/sgml/keywords.sgml | 2 +- src/backend/parser/gram.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/keywords.sgml b/doc/src/sgml/keywords.sgml index 2fc180ae86b..a3ed449c8f8 100644 --- a/doc/src/sgml/keywords.sgml +++ b/doc/src/sgml/keywords.sgml @@ -3553,7 +3553,7 @@ OFF - reserved + non-reserved non-reserved non-reserved reserved diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index de91ccc2147..05ff0822c9f 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -1341,7 +1341,7 @@ opt_boolean_or_string: * by the ColId rule below. The action for booleans and strings * is the same, so we don't need to distinguish them here. */ - | ColId_or_Sconst { $$ = $1 } + | ColId_or_Sconst { $$ = $1; } ; /* Timezone values can be: -- 2.39.5