Commit 2d480b92 authored by Peter Eisentraut's avatar Peter Eisentraut

Eliminate another gratuitous message wording difference.

parent a776bd9b
...@@ -8,7 +8,7 @@ ...@@ -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, ...@@ -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 */ ) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment