mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
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.
This commit is contained in:
@ -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)));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user