mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
More message editing, some suggested by Alvaro Herrera
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.83 2003/09/25 06:57:58 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.84 2003/09/29 00:05:25 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -4075,7 +4075,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
|
||||
if (shared_relation && IsUnderPostmaster)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("shared relations cannot be toasted after initdb")));
|
||||
errmsg("shared tables cannot be toasted after initdb")));
|
||||
|
||||
/*
|
||||
* Is it already toasted?
|
||||
@ -4090,7 +4090,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
|
||||
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("relation \"%s\" already has a TOAST table",
|
||||
errmsg("tables \"%s\" already has a TOAST table",
|
||||
RelationGetRelationName(rel))));
|
||||
}
|
||||
|
||||
@ -4107,7 +4107,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
|
||||
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("relation \"%s\" does not need a TOAST table",
|
||||
errmsg("table \"%s\" does not need a TOAST table",
|
||||
RelationGetRelationName(rel))));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user