mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Rename hostname_lookup to log_hostname.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.295 2002/11/15 01:40:18 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.296 2002/11/15 01:57:26 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -199,7 +199,7 @@ int PreAuthDelay = 0;
|
||||
int AuthenticationTimeout = 60;
|
||||
int CheckPointTimeout = 300;
|
||||
|
||||
bool HostnameLookup; /* for ps display */
|
||||
bool log_hostname; /* for ps display */
|
||||
bool LogSourcePort;
|
||||
bool Log_connections = false;
|
||||
bool Db_user_namespace = false;
|
||||
@@ -2097,7 +2097,7 @@ DoBackend(Port *port)
|
||||
|
||||
remote_host = NULL;
|
||||
|
||||
if (HostnameLookup)
|
||||
if (log_hostname)
|
||||
{
|
||||
struct hostent *host_ent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user