Fix untranslatable log message assembly

Peter Eisentraut <peter@eisentraut.org>

Commit: b4018ecb88a49612730398d15d3d96d68abe1137
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-07-13T11:21:33Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/replication/logical/worker.c modified +12 −32

Discussion