]> granicus.if.org Git - postgresql/commit
Fix startup so that log prefix %h works for the log_connections message.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jan 2016 20:38:33 +0000 (15:38 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jan 2016 20:38:33 +0000 (15:38 -0500)
commit2acb682f68255e9df4f31ff6421d900a467a4675
tree0b305f90c4c3c5ce61354e1d7cf164116ad67591
parente8267aba5fcf9f107cd20b8d0e7d199ecaf74a27
Fix startup so that log prefix %h works for the log_connections message.

We entirely randomly chose to initialize port->remote_host just after
printing the log_connections message, when we could perfectly well do it
just before, allowing %h and %r to work for that message.  Per gripe from
Artem Tomyuk.
src/backend/postmaster/postmaster.c