From: Jeff Davis Date: Mon, 3 Aug 2026 18:34:58 +0000 (-0700) Subject: Do not log subscription conninfo. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=448c4b3bfd0e302cc8d856560c33340594f863cc;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c index 1ca19c1a7a8..2548d3feb54 100644 --- a/src/backend/replication/logical/worker.c +++ b/src/backend/replication/logical/worker.c @@ -6003,10 +6003,6 @@ SetupApplyOrSyncWorker(int worker_slot) InitializeLogRepWorker(); - /* Connect to the origin and start the replication. */ - elog(DEBUG1, "connecting to publisher using connection string \"%s\"", - MySubscription->conninfo); - /* * Setup callback for syscache so that we know when something changes in * the subscription relation state.