From: Heikki Linnakangas Date: Fri, 22 Oct 2010 15:38:31 +0000 (+0300) Subject: Add semicolon, missed in previous patch. And update the keyword list in X-Git-Tag: REL9_1_ALPHA2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57b80b4c466f224b6623e38081cea6e6d2fe0744;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/doc/src/sgml/keywords.sgml b/doc/src/sgml/keywords.sgml index 8052627b2b7..1e7a56c1e84 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 71315c54808..c4165f0bf07 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -1347,7 +1347,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: