OSDN Git Service

Add semicolon, missed in previous patch. And update the keyword list in
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Oct 2010 15:38:31 +0000 (18:38 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 22 Oct 2010 15:38:31 +0000 (18:38 +0300)
the docs to reflect that OFF is now unreserved. Spotted by Tom Lane.

doc/src/sgml/keywords.sgml
src/backend/parser/gram.y

index 8052627..1e7a56c 100644 (file)
    </row>
    <row>
     <entry><token>OFF</token></entry>
-    <entry>reserved</entry>
+    <entry>non-reserved</entry>
     <entry>non-reserved</entry>
     <entry>non-reserved</entry>
     <entry>reserved</entry>
index 71315c5..c4165f0 100644 (file)
@@ -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: