pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Change some errdetail() to errdetail_internal() 7+ messages / 1 participants [nested] [flat]
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d84a7b290f866b3f16cbefb0fca31b69ebace98a Modified Files -------------- src/backend/catalog/dependency.c | 6 +++--- src/backend/commands/publicationcmds.c | 2 +- src/backend/commands/user.c | 4 ++-- src/backend/utils/adt/acl.c | 4 ++-- src/backend/utils/adt/jsonfuncs.c | 4 ++-- src/common/jsonapi.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1eeac95dc4a639c51ff6cc6e2ac6ae52dab32b32 Modified Files -------------- src/backend/catalog/dependency.c | 6 +++--- src/backend/commands/publicationcmds.c | 2 +- src/backend/commands/user.c | 4 ++-- src/backend/utils/adt/acl.c | 4 ++-- src/backend/utils/adt/jsonfuncs.c | 4 ++-- src/common/jsonapi.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f1e7f25b5aef2f3957aa4dbc5eda874871f693e0 Modified Files -------------- src/backend/catalog/dependency.c | 6 +++--- src/backend/commands/user.c | 4 ++-- src/backend/utils/adt/acl.c | 4 ++-- src/backend/utils/adt/jsonfuncs.c | 4 ++-- src/common/jsonapi.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1dd468c348095010e07eeb844e2e344ad63a52ef Modified Files -------------- src/backend/catalog/dependency.c | 6 +++--- src/backend/commands/user.c | 4 ++-- src/backend/utils/adt/acl.c | 4 ++-- src/backend/utils/adt/jsonfuncs.c | 4 ++-- src/common/jsonapi.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/84f8e407f5d9d9c1262931ebe6a83bc90a2f635b 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(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1f2f50bc1b488003f0832343758030ef1a661a9b 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(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Change some errdetail() to errdetail_internal() @ 2022-09-28 15:19 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 7+ messages in thread From: Alvaro Herrera @ 2022-09-28 15:19 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2022-09-28 15:19 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org> 2022-09-28 15:19 pgsql: Change some errdetail() to errdetail_internal() Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox