Remove ALL from CLUSTER ALL. Use just CLUSTER.
authorBruce Momjian
Mon, 18 Nov 2002 17:12:07 +0000 (17:12 +0000)
committerBruce Momjian
Mon, 18 Nov 2002 17:12:07 +0000 (17:12 +0000)
doc/src/sgml/ref/cluster.sgml
src/backend/commands/cluster.c
src/backend/parser/gram.y

index a49d4d7d3965d4df184e5146a6e8ba141fe44afe..e72a8f61d1f1129c403666012ce4a9df9301694a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,7 +23,7 @@ PostgreSQL documentation
   
 CLUSTER indexname ON tablename
 CLUSTER tablename
-CLUSTER ALL
+CLUSTER
   
 
   
@@ -114,8 +114,8 @@ CLUSTER
   
 
   
-   In calls to CLUSTER ALL, all the tables in the database
-   that the calling user owns are clustered using the saved information.  This
+   A simple CLUSTER clusters all the tables in the database
+   that the calling user owns and uses the saved cluster information.  This
    form of CLUSTER cannot be called from inside a
    transaction or function.
   
@@ -225,7 +225,7 @@ CLUSTER emp;
    Cluster all the tables on the database that have previously been clustered:
   
   
-CLUSTER ALL;
+CLUSTER;
   
  
 
index db78a179b693faa68ae8ea2163894eee5d1da586..1e5a11220c610a0728a52797d09c7393899033ff 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.94 2002/11/15 03:09:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.95 2002/11/18 17:12:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -728,7 +728,7 @@ cluster(ClusterStmt *stmt)
                        *rvs;
 
        /*
-        * We cannot run CLUSTER ALL inside a user transaction block; if we were inside
+        * We cannot run CLUSTER inside a user transaction block; if we were inside
         * a transaction, then our commit- and start-transaction-command calls
         * would not have the intended effect!
         */
index 2eef0c049043cd7560a71efbb2809bc4b8cf1d0c..0b3bb279d57674eaa57ff813480db34836b32e47 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.379 2002/11/15 03:09:35 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.380 2002/11/18 17:12:07 momjian Exp $
  *
  * HISTORY
  *   AUTHOR            DATE            MAJOR EVENT
@@ -3762,7 +3762,7 @@ CreateConversionStmt:
  *     QUERY:
  *             cluster  on 
  *             cluster 
- *             cluster ALL
+ *             cluster
  *
  *****************************************************************************/
 
@@ -3781,7 +3781,7 @@ ClusterStmt:
                   n->indexname = NULL;
                   $$ = (Node*)n;
                }
-           | CLUSTER ALL
+           | CLUSTER
                {
                   ClusterStmt *n = makeNode(ClusterStmt);
                   n->relation = NULL;