File tree 3 files changed +10
-10
lines changed 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
<!--
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 $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -23,7 +23,7 @@ PostgreSQL documentation
23
23
<synopsis>
24
24
CLUSTER <replaceable class="PARAMETER">indexname</replaceable> ON <replaceable class="PARAMETER">tablename</replaceable>
25
25
CLUSTER <replaceable class="PARAMETER">tablename</replaceable>
26
- CLUSTER ALL
26
+ CLUSTER
27
27
</synopsis>
28
28
29
29
<refsect2 id="R2-SQL-CLUSTER-1">
@@ -114,8 +114,8 @@ CLUSTER
114
114
</para>
115
115
116
116
<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
119
119
form of <command>CLUSTER</command> cannot be called from inside a
120
120
transaction or function.
121
121
</para>
@@ -225,7 +225,7 @@ CLUSTER emp;
225
225
Cluster all the tables on the database that have previously been clustered:
226
226
</para>
227
227
<programlisting>
228
- CLUSTER ALL ;
228
+ CLUSTER;
229
229
</programlisting>
230
230
</refsect1>
231
231
Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* 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 $
15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
@@ -728,7 +728,7 @@ cluster(ClusterStmt *stmt)
728
728
* rvs ;
729
729
730
730
/*
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
732
732
* a transaction, then our commit- and start-transaction-command calls
733
733
* would not have the intended effect!
734
734
*/
Original file line number Diff line number Diff line change 11
11
*
12
12
*
13
13
* 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 $
15
15
*
16
16
* HISTORY
17
17
* AUTHOR DATE MAJOR EVENT
@@ -3762,7 +3762,7 @@ CreateConversionStmt:
3762
3762
* QUERY:
3763
3763
* cluster <index_name> on <qualified_name>
3764
3764
* cluster <qualified_name>
3765
- * cluster ALL
3765
+ * cluster
3766
3766
*
3767
3767
*****************************************************************************/
3768
3768
@@ -3781,7 +3781,7 @@ ClusterStmt:
3781
3781
n->indexname = NULL ;
3782
3782
$$ = (Node*)n;
3783
3783
}
3784
- | CLUSTER ALL
3784
+ | CLUSTER
3785
3785
{
3786
3786
ClusterStmt *n = makeNode(ClusterStmt);
3787
3787
n->relation = NULL ;
You can’t perform that action at this time.
0 commit comments