1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Remove warnings for operations that have no effect when executed repeatedly.

This commit is contained in:
Peter Eisentraut
2003-09-15 00:26:31 +00:00
parent 2f9d32cded
commit a07c5a1225
9 changed files with 6 additions and 36 deletions

View File

@ -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.124 2003/08/04 02:39:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.125 2003/09/15 00:26:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -1498,11 +1498,6 @@ AlterGroup(AlterGroupStmt *stmt, const char *tag)
if (!intMember(sysid, newlist))
newlist = lappendi(newlist, sysid);
else
ereport(WARNING,
(errcode(ERRCODE_DUPLICATE_OBJECT),
errmsg("user \"%s\" is already in group \"%s\"",
strVal(lfirst(item)), stmt->name)));
}
/* Do the update */