Thread: pgsql: Change some errdetail() to errdetail_internal()

pgsql: Change some errdetail() to errdetail_internal()

From
Alvaro Herrera
Date:
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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c0c2a9b01a85fd95195af997e0c1dfaaafa3b20b

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