pgsql: Change some errdetail() to errdetail_internal()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Change some errdetail() to errdetail_internal()
Дата
Msg-id E1odYqV-002PMT-Qc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Change some errdetail() to errdetail_internal()

This prevents marking the argument string for translation for gettext,
and it also prevents the given string (which is already translated) from
being translated at runtime.

Also, mark the strings used as arguments to check_rolespec_name for
translation.

Backpatch all the way back as appropriate.  None of this is caught by
any tests (necessarily so), so I verified it manually.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/84f8e407f5d9d9c1262931ebe6a83bc90a2f635b

Modified Files
--------------
src/backend/catalog/dependency.c | 6 +++---
src/backend/commands/user.c      | 4 ++--
src/backend/utils/adt/acl.c      | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix bug in DROP OWNED BY.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow callback functions to deregister themselves during a call.