mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Translation updates
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.111 2002/09/04 20:31:16 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.112 2002/09/14 13:46:23 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -928,8 +928,12 @@ DropUser(DropUserStmt *stmt)
|
||||
PointerGetDatum(user),
|
||||
0, 0, 0);
|
||||
if (!HeapTupleIsValid(tuple))
|
||||
elog(ERROR, "DROP USER: user \"%s\" does not exist%s", user,
|
||||
(length(stmt->users) > 1) ? " (no users removed)" : "");
|
||||
{
|
||||
if (length(stmt->users) > 1)
|
||||
elog(ERROR, "DROP USER: user \"%s\" does not exist (no users removed)", user);
|
||||
else
|
||||
elog(ERROR, "DROP USER: user \"%s\" does not exist", user);
|
||||
}
|
||||
|
||||
usesysid = ((Form_pg_shadow) GETSTRUCT(tuple))->usesysid;
|
||||
|
||||
|
Reference in New Issue
Block a user