mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
String fixes/improvements found by Alvaro Herrera
This commit is contained in:
parent
e78b0079a2
commit
14528ffe6b
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.84 2003/09/29 00:05:25 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.85 2003/10/02 06:36:37 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -4090,7 +4090,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
|
||||
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("tables \"%s\" already has a TOAST table",
|
||||
errmsg("table \"%s\" already has a TOAST table",
|
||||
RelationGetRelationName(rel))));
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.127 2003/09/29 00:05:25 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.128 2003/10/02 06:36:37 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -648,7 +648,7 @@ CreateUser(CreateUserStmt *stmt)
|
||||
if (sysid_exists)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DUPLICATE_OBJECT),
|
||||
errmsg("sysid %d is already assigned", sysid)));
|
||||
errmsg("user ID %d is already assigned", sysid)));
|
||||
|
||||
/* If no sysid given, use max existing id + 1 */
|
||||
if (!havesysid)
|
||||
@ -1354,7 +1354,7 @@ CreateGroup(CreateGroupStmt *stmt)
|
||||
if (sysid_exists)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DUPLICATE_OBJECT),
|
||||
errmsg("sysid %d is already assigned", sysid)));
|
||||
errmsg("group ID %d is already assigned", sysid)));
|
||||
|
||||
/* If no sysid given, use max existing id + 1 */
|
||||
if (!havesysid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user