pgsql: Fix untranslatable log message assembly

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix untranslatable log message assembly
Date: 2023-07-13 11:26:36
Message-ID: E1qJuSy-000AN5-MO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix untranslatable log message assembly

We can't inject the name of the logical replication worker into a log
message like that. But for these messages we don't really need the
precision of knowing what kind of worker it was, so just write
"logical replication worker" and keep the message in one piece.

Discussion: https://www.postgresql.org/message-id/flat/CAHut%2BPt1xwATviPGjjtJy5L631SGf3qjV9XUCmxLu16cHamfgg%40mail.gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b4018ecb88a49612730398d15d3d96d68abe1137

Modified Files
--------------
src/backend/replication/logical/worker.c | 44 +++++++++-----------------------
1 file changed, 12 insertions(+), 32 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2023-07-13 13:26:52 pgsql: Fix code indentation violation in commit b6e1157e7d
Previous Message Michael Paquier 2023-07-13 08:11:55 Re: pgsql: Don't include CaseTestExpr in JsonValueExpr.formatted_expr