diff options
author | Tom Lane | 2011-07-16 18:21:12 +0000 |
---|---|---|
committer | Tom Lane | 2011-07-16 18:22:18 +0000 |
commit | 1af37ec96d97722aeb527f5f43d6f6f2304f0861 (patch) | |
tree | c62658c6f2b199c9a38489b91053f9a17f070a1b /src/backend/storage/lmgr/deadlock.c | |
parent | 3ee7c8710defb63490d90cfff09a773d764aa05d (diff) |
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/storage/lmgr/deadlock.c')
-rw-r--r-- | src/backend/storage/lmgr/deadlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/lmgr/deadlock.c b/src/backend/storage/lmgr/deadlock.c index 837f0296c61..7e7f6af21b7 100644 --- a/src/backend/storage/lmgr/deadlock.c +++ b/src/backend/storage/lmgr/deadlock.c @@ -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."))); } |