| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix translatable string construction |
| Date: | 2026-06-11 16:34:45 |
| Message-ID: | E1wXiMf-0021mi-1U@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix translatable string construction
In a few places, we were constructing translatable strings consisting of
elements list by adding one element at a time and separately a comma.
This is not great from a translation point of view, so rewrite to append
the comma together with the corresponding element in one go.
Author: Peter Smith <smithpb2250(at)gmail(dot)com>
Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/CAHut+Pvp7jYcaiZ3pXedXgLcWZWDBLXFUK05JtZpGv3Mj=UOjw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3692a622d3fdf8a44af0c0b541a51163ead314f1
Modified Files
--------------
src/backend/catalog/pg_subscription.c | 22 ++++++++++++++--------
src/backend/commands/tablecmds.c | 15 ++++-----------
src/backend/replication/logical/relation.c | 13 ++++++-------
3 files changed, 24 insertions(+), 26 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2026-06-11 21:18:09 | pgsql: Fix type confusion in AddRelsyncInvalidationMessage |
| Previous Message | Álvaro Herrera | 2026-06-11 14:19:48 | pgsql: IS JSON/JSON(): Protect against expressions uncoercible to text |