mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Support host names in pg_hba.conf
Peter Eisentraut, reviewed by KaiGai Kohei and Tom Lane
This commit is contained in:
@ -3422,6 +3422,8 @@ BackendInitialize(Port *port)
|
||||
*/
|
||||
port->remote_host = strdup(remote_host);
|
||||
port->remote_port = strdup(remote_port);
|
||||
if (log_hostname)
|
||||
port->remote_hostname = port->remote_host;
|
||||
|
||||
/*
|
||||
* Ready to begin client interaction. We will give up and exit(1) after a
|
||||
|
Reference in New Issue
Block a user