Thread: pgsql: Fix untranslatable log message assembly

pgsql: Fix untranslatable log message assembly

From
Peter Eisentraut
Date:
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
------
master

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

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