Re: BUG #17538: Dynamically updating log_hostname not affect the disconnection log - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17538: Dynamically updating log_hostname not affect the disconnection log
Date
Msg-id 1596953.1656955421@sss.pgh.pa.us
Whole thread Raw
In response to BUG #17538: Dynamically updating log_hostname not affect the disconnection log  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The parameter could be updated on the fly. However, dynamically updating
> log_hostname did not affect the disconnection log.

This is operating as designed: the host name is captured at connection
time, and the log_disconnection message just repeats it.  What you
propose would not be an improvement, because it'd make it impossible
to match up log_disconnections messages with log_connections ones.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Christoph Berg
Date:
Subject: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error
Next
From: Michael Paquier
Date:
Subject: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error