Add missing DISTRIBUTE RANDOMLY to the specs in the documentation
authorPavan Deolasee <[email protected]>
Mon, 25 Jan 2016 16:46:41 +0000 (22:16 +0530)
committerPavan Deolasee <[email protected]>
Mon, 25 Jan 2016 16:46:41 +0000 (22:16 +0530)
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/create_table_as.sgml

index 20eae4f10d3cb11f554f54a2a74bbdf0b49b78e3..95182f63264c5d459012637c29b50a0cde8a84ef 100755 (executable)
@@ -33,7 +33,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
 [ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
 [ 
   DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
-  DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+  DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
   DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
 ]
 [ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]
@@ -49,7 +49,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
 [ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
 [ 
   DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
-  DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+  DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
   DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
 ]
 [ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]
index 273157b24347600509953522344ef42e81001926..dad9805059036ae68a8f740eaf2fc25115f4c2d6 100755 (executable)
@@ -28,7 +28,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
     [ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ]
     [ 
       DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( <replaceable class="PARAMETER">column_name</replaceable> ) } } |
-      DISTRIBUTED { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } |
+      DISTRIBUTED { { BY ( <replaceable class="PARAMETER">column_name</replaceable> ) } | { RANDOMLY } |
       DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( <replaceable class="PARAMETER">column_name</replaceable> )
     ]
     [ TO { GROUP <replaceable class="PARAMETER">groupname</replaceable> | NODE ( <replaceable class="PARAMETER">nodename</replaceable> [, ... ] ) } ]