Fix untranslatable log message assembly
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 13 Jul 2023 10:56:35 +0000 (12:56 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 13 Jul 2023 11:21:43 +0000 (13:21 +0200)
commite1c83e7b964f45aa39818134f8a2d46f2d03a38d
tree64745f9669e59624fb3809da9146b3fcfcc81078
parentccfca8ea42b8be09a509f68564f6ee13859285b1
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
src/backend/replication/logical/worker.c