Change some errdetail() to errdetail_internal()

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

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