From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...). |
Date: | 2011-07-16 18:23:38 |
Message-ID: | E1Qi9Wc-0005w5-N9@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/1af37ec96d97722aeb527f5f43d6f6f2304f0861
Modified Files
--------------
contrib/dblink/dblink.c | 9 +++++----
src/backend/commands/trigger.c | 6 +++---
src/backend/commands/user.c | 2 +-
src/backend/libpq/auth.c | 6 +++---
src/backend/nodes/print.c | 2 +-
src/backend/storage/lmgr/deadlock.c | 2 +-
src/backend/tcop/postgres.c | 2 +-
src/backend/utils/adt/xml.c | 8 ++++----
src/backend/utils/fmgr/dfmgr.c | 2 +-
src/backend/utils/misc/guc.c | 20 ++++++++++----------
src/pl/plpgsql/src/pl_exec.c | 2 +-
src/pl/plpython/plpython.c | 4 ++--
12 files changed, 33 insertions(+), 32 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-07-16 20:47:09 | pgsql: Improve make_subplanTargetList to avoid including Vars unnecessa |
Previous Message | Magnus Hagander | 2011-07-16 18:04:02 | pgsql: Fix SSPI login when multiple roundtrips are required |