summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc-xc/src/sgml/ref/clean_connection.sgmlin2
-rw-r--r--doc-xc/src/sgml/ref/create_table.sgmlin4
-rw-r--r--src/backend/parser/gram.y4
3 files changed, 5 insertions, 5 deletions
diff --git a/doc-xc/src/sgml/ref/clean_connection.sgmlin b/doc-xc/src/sgml/ref/clean_connection.sgmlin
index 40d77178a5..86018aee0d 100644
--- a/doc-xc/src/sgml/ref/clean_connection.sgmlin
+++ b/doc-xc/src/sgml/ref/clean_connection.sgmlin
@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
-CLEAN CONNECTION TO ( COORDINATOR <replaceable class="parameter">nodename</replaceable> [, ... ] | NODE <replaceable class="parameter">nodename</replaceable> [, ... ] | ALL {FORCE})
+CLEAN CONNECTION TO { COORDINATOR <replaceable class="parameter">nodename</replaceable> [, ... ] | NODE <replaceable class="parameter">nodename</replaceable> [, ... ] | ALL {FORCE} }
[ FOR DATABASE <replaceable class="parameter">dbname</replaceable> ]
[ TO USER <replaceable class="parameter">username</replaceable> ]
</synopsis>
diff --git a/doc-xc/src/sgml/ref/create_table.sgmlin b/doc-xc/src/sgml/ref/create_table.sgmlin
index 4e529f9414..318f1feff8 100644
--- a/doc-xc/src/sgml/ref/create_table.sgmlin
+++ b/doc-xc/src/sgml/ref/create_table.sgmlin
@@ -94,7 +94,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace</replaceable> ]
[ DISTRIBUTE BY { REPLICATION | ROUND ROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } ]
-[ TO ( GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) ]
+[ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE <replaceable class="PARAMETER">nodename</replaceable> [, ... ] } ]
CREATE TABLE <replaceable class="PARAMETER">table_name</replaceable>
OF <replaceable class="PARAMETER">type_name</replaceable> [ (
@@ -106,7 +106,7 @@ CREATE TABLE <replaceable class="PARAMETER">table_name</replaceable>
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace</replaceable> ]
[ DISTRIBUTE BY { REPLICATION | ROUND ROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } ]
-[ TO ( GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) ]
+[ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE <replaceable class="PARAMETER">nodename</replaceable> [, ... ] } ]
<phrase>where <replaceable class="PARAMETER">column_constraint</replaceable> is:</phrase>
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 9b54ce8c0c..8979504fa2 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -8219,7 +8219,7 @@ explain_option_arg:
/*****************************************************************************
*
* QUERY:
- * EXECUTE DIRECT ON (nodename, ...) query
+ * EXECUTE DIRECT ON nodename [, ... ] query
*
*****************************************************************************/
@@ -8245,7 +8245,7 @@ DirectStmt:
*
* QUERY:
*
- * CLEAN CONNECTION TO (COORDINATOR nodename | NODE nodename | ALL {FORCE})
+ * CLEAN CONNECTION TO { COORDINATOR nodename | NODE nodename | ALL {FORCE} }
* [ FOR DATABASE dbname ]
* [ TO USER username ]
*