File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.21 2002/11/15 03:09:35 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.22 2002/11/18 17:12:06 momjian Exp $
33PostgreSQL documentation
44-->
55
@@ -23,7 +23,7 @@ PostgreSQL documentation
2323 <synopsis>
2424CLUSTER <replaceable class="PARAMETER">indexname</replaceable> ON <replaceable class="PARAMETER">tablename</replaceable>
2525CLUSTER <replaceable class="PARAMETER">tablename</replaceable>
26- CLUSTER ALL
26+ CLUSTER
2727 </synopsis>
2828
2929 <refsect2 id="R2-SQL-CLUSTER-1">
@@ -114,8 +114,8 @@ CLUSTER
114114 </para>
115115
116116 <para>
117- In calls to <command>CLUSTER ALL </command>, all the tables in the database
118- that the calling user owns are clustered using the saved information. This
117+ A simple <command>CLUSTER</command> clusters all the tables in the database
118+ that the calling user owns and uses the saved cluster information. This
119119 form of <command>CLUSTER</command> cannot be called from inside a
120120 transaction or function.
121121 </para>
@@ -225,7 +225,7 @@ CLUSTER emp;
225225 Cluster all the tables on the database that have previously been clustered:
226226 </para>
227227 <programlisting>
228- CLUSTER ALL ;
228+ CLUSTER;
229229 </programlisting>
230230 </refsect1>
231231
Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.94 2002/11/15 03:09:35 momjian Exp $
14+ * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.95 2002/11/18 17:12:07 momjian Exp $
1515 *
1616 *-------------------------------------------------------------------------
1717 */
@@ -728,7 +728,7 @@ cluster(ClusterStmt *stmt)
728728 * rvs ;
729729
730730 /*
731- * We cannot run CLUSTER ALL inside a user transaction block; if we were inside
731+ * We cannot run CLUSTER inside a user transaction block; if we were inside
732732 * a transaction, then our commit- and start-transaction-command calls
733733 * would not have the intended effect!
734734 */
Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.379 2002/11/15 03:09:35 momjian Exp $
14+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.380 2002/11/18 17:12:07 momjian Exp $
1515 *
1616 * HISTORY
1717 * AUTHOR DATE MAJOR EVENT
@@ -3762,7 +3762,7 @@ CreateConversionStmt:
37623762 * QUERY:
37633763 * cluster <index_name> on <qualified_name>
37643764 * cluster <qualified_name>
3765- * cluster ALL
3765+ * cluster
37663766 *
37673767 *****************************************************************************/
37683768
@@ -3781,7 +3781,7 @@ ClusterStmt:
37813781 n->indexname = NULL ;
37823782 $$ = (Node*)n;
37833783 }
3784- | CLUSTER ALL
3784+ | CLUSTER
37853785 {
37863786 ClusterStmt *n = makeNode(ClusterStmt);
37873787 n->relation = NULL ;
You can’t perform that action at this time.
0 commit comments