]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change some errdetail() to errdetail_internal()
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 28 Sep 2022 15:14:53 +0000 (17:14 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 28 Sep 2022 15:14:53 +0000 (17:14 +0200)
commitc0c2a9b01a85fd95195af997e0c1dfaaafa3b20b
tree6038c180038ea1cb374d673e82e37e0a0ad2e217
parent5d6c5d0e9585d6071e1c9748a04ce6262e30d1ce
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.
src/backend/catalog/dependency.c
src/backend/commands/user.c
src/backend/utils/adt/acl.c