]> 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)
commit84f8e407f5d9d9c1262931ebe6a83bc90a2f635b
tree3ab9401a528ee72988b670808ed853fde4435b3d
parent51976309450c58e79b46015223888db8f5c8159f
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