aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/user.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-07-16 14:21:12 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-07-16 14:22:18 -0400
commit1af37ec96d97722aeb527f5f43d6f6f2304f0861 (patch)
treec62658c6f2b199c9a38489b91053f9a17f070a1b /src/backend/commands/user.c
parent3ee7c8710defb63490d90cfff09a773d764aa05d (diff)
downloadpostgresql-1af37ec96d97722aeb527f5f43d6f6f2304f0861.tar.gz
postgresql-1af37ec96d97722aeb527f5f43d6f6f2304f0861.zip
Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
There may be some other places where we should use errdetail_internal, but they'll have to be evaluated case-by-case. This commit just hits a bunch of places where invoking gettext is obviously a waste of cycles.
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r--src/backend/commands/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index 838d6eba205..871bda7cc59 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -953,7 +953,7 @@ DropRole(DropRoleStmt *stmt)
(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
errmsg("role \"%s\" cannot be dropped because some objects depend on it",
role),
- errdetail("%s", detail),
+ errdetail_internal("%s", detail),
errdetail_log("%s", detail_log)));
/*