agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix translatable string construction
Date: Thu, 11 Jun 2026 16:34:45 +0000
Message-ID: <E1wXiMf-0021mi-1U@gemulon.postgresql.org> (raw)

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@gmail.com>
Author: Álvaro Herrera <alvherre@kurilemu.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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1wXiMf-0021mi-1U@gemulon.postgresql.org>
Permalink:  ../E1wXiMf-0021mi-1U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wXiMf-0021mi-1U@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix translatable string construction
  In-Reply-To: <E1wXiMf-0021mi-1U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox