Change some errdetail() to errdetail_internal()

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 84f8e407f5d9d9c1262931ebe6a83bc90a2f635b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-09-28T15:14:53Z
Releases: 12.13
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.

Files

PathChange+/−
src/backend/catalog/dependency.c modified +3 −3
src/backend/commands/user.c modified +2 −2
src/backend/utils/adt/acl.c modified +2 −2