pgsql: Change some errdetail() to errdetail_internal() - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Change some errdetail() to errdetail_internal()
Date
Msg-id E1odYqV-002PMW-R6@gemulon.postgresql.org
Whole thread Raw
List 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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1f2f50bc1b488003f0832343758030ef1a661a9b

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 by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix bug in DROP OWNED BY.
Next
From: Tom Lane
Date:
Subject: pgsql: Allow callback functions to deregister themselves during a call.