|
11 | 11 | *
|
12 | 12 | *
|
13 | 13 | * IDENTIFICATION
|
14 |
| - * $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.145 2006/05/0211:28:54 teodor Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.146 2006/05/0215:45:37 tgl Exp $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -379,9 +379,8 @@ check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck)
|
379 | 379 | if (!OldIndex->rd_am->amclusterable)
|
380 | 380 | ereport(ERROR,
|
381 | 381 | (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
382 |
| -errmsg("cannot cluster on index \"%s\" because access method does not clusterable", |
383 |
| -RelationGetRelationName(OldIndex)))); |
384 |
| - |
| 382 | +errmsg("cannot cluster on index \"%s\" because access method does not support clustering", |
| 383 | +RelationGetRelationName(OldIndex)))); |
385 | 384 |
|
386 | 385 | /*
|
387 | 386 | * Disallow clustering system relations. This will definitely NOT work
|
|