mirror of
https://github.com/postgres/postgres.git
synced 2025-05-22 00:02:02 -04:00
Eliminate another gratuitous message wording difference.
This commit is contained in:
parent
a776bd9b69
commit
2d480b92cf
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.112 2003/09/29 00:05:24 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.113 2003/09/29 16:37:29 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -106,7 +106,7 @@ DefineIndex(RangeVar *heapRelation,
|
|||||||
rel->rd_rel->relkind != RELKIND_UNCATALOGED)
|
rel->rd_rel->relkind != RELKIND_UNCATALOGED)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||||
errmsg("relation \"%s\" is not a table",
|
errmsg("\"%s\" is not a table",
|
||||||
heapRelation->relname)));
|
heapRelation->relname)));
|
||||||
|
|
||||||
relationId = RelationGetRelid(rel);
|
relationId = RelationGetRelid(rel);
|
||||||
@ -636,7 +636,7 @@ ReindexTable(RangeVar *relation, bool force /* currently unused */ )
|
|||||||
((Form_pg_class) GETSTRUCT(tuple))->relkind != RELKIND_TOASTVALUE)
|
((Form_pg_class) GETSTRUCT(tuple))->relkind != RELKIND_TOASTVALUE)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||||
errmsg("relation \"%s\" is not a table",
|
errmsg("\"%s\" is not a table",
|
||||||
relation->relname)));
|
relation->relname)));
|
||||||
|
|
||||||
/* Check permissions */
|
/* Check permissions */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user