From 529fc19ccc9c6044e6123274ffeef606bbf6a6b5 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Mon, 3 Aug 2026 11:34:58 -0700 Subject: [PATCH] Do not log subscription conninfo. Logging connection information, even at DEBUG1, creates unnecessary risks. Remove the entire log message because it had no other useful content. Addresses finding 14 in report from linked discussion. Reported-by: Noah Misch Discussion: https://postgr.es/m/20260710195902.4f.noahmisch@microsoft.com Backpatch-through: 14 --- src/backend/replication/logical/worker.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c index 5bcefd4523a..fb06c53a82c 100644 --- a/src/backend/replication/logical/worker.c +++ b/src/backend/replication/logical/worker.c @@ -3194,10 +3194,6 @@ ApplyWorkerMain(Datum main_arg) CommitTransactionCommand(); - /* Connect to the origin and start the replication. */ - elog(DEBUG1, "connecting to publisher using connection string \"%s\"", - MySubscription->conninfo); - if (am_tablesync_worker()) { char *syncslotname;