]> granicus.if.org Git - postgresql/commit
Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2011 18:21:24 +0000 (14:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2011 18:22:35 +0000 (14:22 -0400)
commitfbd847a5877444f098cdbf270b967f8010a48838
tree8452f58fbf950d6f7d2642abcbfb52b0f8c0881a
parent3b41d490bb4225ff0398900f566b1e4c728eff05
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.
12 files changed:
contrib/dblink/dblink.c
src/backend/commands/trigger.c
src/backend/commands/user.c
src/backend/libpq/auth.c
src/backend/nodes/print.c
src/backend/storage/lmgr/deadlock.c
src/backend/tcop/postgres.c
src/backend/utils/adt/xml.c
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/misc/guc.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpython/plpython.c