Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2011 18:21:12 +0000 (14:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2011 18:22:18 +0000 (14:22 -0400)
commit1af37ec96d97722aeb527f5f43d6f6f2304f0861
treec62658c6f2b199c9a38489b91053f9a17f070a1b
parent3ee7c8710defb63490d90cfff09a773d764aa05d
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