pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...).

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...).
Дата
Msg-id E1Qi9Wc-0005wA-SA@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fbd847a5877444f098cdbf270b967f8010a48838

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Fix SSPI login when multiple roundtrips are required
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use errdetail_internal() for SSI transaction cancellation detail