1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Rename show_source_port to log_source_port.

This commit is contained in:
Bruce Momjian
2002-11-15 01:40:20 +00:00
parent 559b6c7ced
commit aead49667b
5 changed files with 10 additions and 10 deletions

View File

@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.294 2002/11/14 23:53:27 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.295 2002/11/15 01:40:18 momjian Exp $
*
* NOTES
*
@@ -200,7 +200,7 @@ int AuthenticationTimeout = 60;
int CheckPointTimeout = 300;
bool HostnameLookup; /* for ps display */
bool ShowPortNumber;
bool LogSourcePort;
bool Log_connections = false;
bool Db_user_namespace = false;
@@ -2119,7 +2119,7 @@ DoBackend(Port *port)
elog(LOG, "connection received: host=%s port=%hu",
remote_host, remote_port);
if (ShowPortNumber)
if (LogSourcePort)
{
/* modify remote_host for use in ps status */
int slen = strlen(remote_host) + 10;