mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix grammar of new error message.
This commit is contained in:
parent
2bee77e600
commit
2610a1fd5e
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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,10 +379,9 @@ check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck)
|
|||||||
if (!OldIndex->rd_am->amclusterable)
|
if (!OldIndex->rd_am->amclusterable)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("cannot cluster on index \"%s\" because access method does not clusterable",
|
errmsg("cannot cluster on index \"%s\" because access method does not support clustering",
|
||||||
RelationGetRelationName(OldIndex))));
|
RelationGetRelationName(OldIndex))));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disallow clustering system relations. This will definitely NOT work
|
* Disallow clustering system relations. This will definitely NOT work
|
||||||
* for shared relations (we have no way to update pg_class rows in other
|
* for shared relations (we have no way to update pg_class rows in other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user