Fix grammar of new error message.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 May 2006 15:45:37 +0000 (15:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 May 2006 15:45:37 +0000 (15:45 +0000)
src/backend/commands/cluster.c

index 18845eecea2adabcd840363058719b826c0bc3dc..756b97ee0c36ef2b8528929afbe2d04dad6fa72f 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.145 2006/05/02 11:28:54 teodor Exp $
+ *       $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.146 2006/05/02 15:45:37 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -379,9 +379,8 @@ check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck)
        if (!OldIndex->rd_am->amclusterable) 
                ereport(ERROR,
                                (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
-                          errmsg("cannot cluster on index \"%s\" because access method does not clusterable",
-                               RelationGetRelationName(OldIndex))));
-
+                                errmsg("cannot cluster on index \"%s\" because access method does not support clustering",
+                                               RelationGetRelationName(OldIndex))));
 
        /*
         * Disallow clustering system relations.  This will definitely NOT work