Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 14528ff

Browse files
committed
String fixes/improvements found by Alvaro Herrera
1 parent e78b007 commit 14528ff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/commands/tablecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.84 2003/09/29 00:05:25 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.85 2003/10/02 06:36:37 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -4090,7 +4090,7 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
40904090

40914091
ereport(ERROR,
40924092
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
4093-
errmsg("tables \"%s\" already has a TOAST table",
4093+
errmsg("table \"%s\" already has a TOAST table",
40944094
RelationGetRelationName(rel))));
40954095
}
40964096

src/backend/commands/user.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.127 2003/09/29 00:05:25 petere Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.128 2003/10/02 06:36:37 petere Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -648,7 +648,7 @@ CreateUser(CreateUserStmt *stmt)
648648
if (sysid_exists)
649649
ereport(ERROR,
650650
(errcode(ERRCODE_DUPLICATE_OBJECT),
651-
errmsg("sysid %d is already assigned", sysid)));
651+
errmsg("user ID %d is already assigned", sysid)));
652652

653653
/* If no sysid given, use max existing id + 1 */
654654
if (!havesysid)
@@ -1354,7 +1354,7 @@ CreateGroup(CreateGroupStmt *stmt)
13541354
if (sysid_exists)
13551355
ereport(ERROR,
13561356
(errcode(ERRCODE_DUPLICATE_OBJECT),
1357-
errmsg("sysid %d is already assigned", sysid)));
1357+
errmsg("group ID %d is already assigned", sysid)));
13581358

13591359
/* If no sysid given, use max existing id + 1 */
13601360
if (!havesysid)

0 commit comments

Comments
 (0)