1
0
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:
Jeff Davis
2026-08-03 11:34:58 -07:00
parent 83336e3ed3
commit d16728b01e

View File

@@ -4615,10 +4615,6 @@ ApplyWorkerMain(Datum main_arg)
InitializingApplyWorker = false;
/* Connect to the origin and start the replication. */
elog(DEBUG1, "connecting to publisher using connection string \"%s\"",
MySubscription->conninfo);
if (am_tablesync_worker())
{
start_table_sync(&origin_startpos, &myslotname);