pgsql: Do not log subscription conninfo.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Do not log subscription conninfo.
Date: 2026-08-03 18:39:12
Message-ID: E1wqxZA-000000002n7-3TCZ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <noah(at)leadboat(dot)com>
Discussion: https://postgr.es/m/20260710195902.4f.noahmisch@microsoft.com
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/529fc19ccc9c6044e6123274ffeef606bbf6a6b5

Modified Files
--------------
src/backend/replication/logical/worker.c | 4 ----
1 file changed, 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-08-03 18:39:15 pgsql: Do not log subscription conninfo.
Previous Message Jeff Davis 2026-08-03 18:38:54 pgsql: Do not log subscription conninfo.