mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +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:
@@ -939,7 +939,7 @@ DeadLockReport(void)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_T_R_DEADLOCK_DETECTED),
|
||||
errmsg("deadlock detected"),
|
||||
errdetail("%s", clientbuf.data),
|
||||
errdetail_internal("%s", clientbuf.data),
|
||||
errdetail_log("%s", logbuf.data),
|
||||
errhint("See server log for query details.")));
|
||||
}
|
||||
|
Reference in New Issue
Block a user