Skip to content

Commit 2610a1f

Browse files
committed
Fix grammar of new error message.
1 parent 2bee77e commit 2610a1f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/backend/commands/cluster.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.145 2006/05/02 11:28:54 teodor Exp $
14+
* $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.146 2006/05/02 15:45:37 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -379,9 +379,8 @@ check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck)
379379
if (!OldIndex->rd_am->amclusterable)
380380
ereport(ERROR,
381381
(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))));
385384

386385
/*
387386
* Disallow clustering system relations. This will definitely NOT work

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy