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:24
Message-ID: E1wqxZM-000000002qF-1xnq@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_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/72b0fee51df2e5d9ab3313407f1a5313fd768882

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

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-08-03 18:52:44 pgsql: Don't skip invalid databases when enabling data checksums
Previous Message Jeff Davis 2026-08-03 18:39:22 pgsql: Do not log subscription conninfo.