mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
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@leadboat.com> Discussion: https://postgr.es/m/20260710195902.4f.noahmisch@microsoft.com Backpatch-through: 14
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user