Commit 14528ffe authored by Peter Eisentraut's avatar Peter Eisentraut

String fixes/improvements found by Alvaro Herrera

parent e78b0079
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -4090,7 +4090,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), (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)))); RelationGetRelationName(rel))));
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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) ...@@ -648,7 +648,7 @@ CreateUser(CreateUserStmt *stmt)
if (sysid_exists) if (sysid_exists)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_DUPLICATE_OBJECT), (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 no sysid given, use max existing id + 1 */
if (!havesysid) if (!havesysid)
...@@ -1354,7 +1354,7 @@ CreateGroup(CreateGroupStmt *stmt) ...@@ -1354,7 +1354,7 @@ CreateGroup(CreateGroupStmt *stmt)
if (sysid_exists) if (sysid_exists)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_DUPLICATE_OBJECT), (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 no sysid given, use max existing id + 1 */
if (!havesysid) if (!havesysid)
......
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