aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-02 15:45:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-02 15:45:37 +0000
commit2610a1fd5ec639c9870a8a47fef4ed99e321a802 (patch)
tree0bdcece25472d80a3e516647515fe7715b6a0327
parent2bee77e6006f693958fbdaad315f2f1eb1c8b2d7 (diff)
downloadpostgresql-2610a1fd5ec639c9870a8a47fef4ed99e321a802.tar.gz
postgresql-2610a1fd5ec639c9870a8a47fef4ed99e321a802.zip
Fix grammar of new error message.
-rw-r--r--src/backend/commands/cluster.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index 18845eecea2..756b97ee0c3 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -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