Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c948a3f4
Commit
c948a3f4
authored
Nov 15, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename hostname_lookup to log_hostname.
parent
aead4966
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+2
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+3
-3
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+2
-2
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-1
src/include/tcop/tcopprot.h
src/include/tcop/tcopprot.h
+2
-2
No files found.
doc/src/sgml/runtime.sgml
View file @
c948a3f4
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.15
3 2002/11/15 01:40:1
5 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.15
4 2002/11/15 01:57:2
5 momjian Exp $
-->
-->
<Chapter Id="runtime">
<Chapter Id="runtime">
...
@@ -995,7 +995,7 @@ env PGOPTIONS='-c geqo=off' psql
...
@@ -995,7 +995,7 @@ env PGOPTIONS='-c geqo=off' psql
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><varname>
HOSTNAME_LOOKUP
</varname> (<type>boolean</type>)</term>
<term><varname>
LOG_HOSTNAME
</varname> (<type>boolean</type>)</term>
<listitem>
<listitem>
<para>
<para>
By default, connection logs only show the IP address of the
By default, connection logs only show the IP address of the
...
...
src/backend/postmaster/postmaster.c
View file @
c948a3f4
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.29
5 2002/11/15 01:40:18
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.29
6 2002/11/15 01:57:26
momjian Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -199,7 +199,7 @@ int PreAuthDelay = 0;
...
@@ -199,7 +199,7 @@ int PreAuthDelay = 0;
int
AuthenticationTimeout
=
60
;
int
AuthenticationTimeout
=
60
;
int
CheckPointTimeout
=
300
;
int
CheckPointTimeout
=
300
;
bool
HostnameLookup
;
/* for ps display */
bool
log_hostname
;
/* for ps display */
bool
LogSourcePort
;
bool
LogSourcePort
;
bool
Log_connections
=
false
;
bool
Log_connections
=
false
;
bool
Db_user_namespace
=
false
;
bool
Db_user_namespace
=
false
;
...
@@ -2097,7 +2097,7 @@ DoBackend(Port *port)
...
@@ -2097,7 +2097,7 @@ DoBackend(Port *port)
remote_host
=
NULL
;
remote_host
=
NULL
;
if
(
HostnameLookup
)
if
(
log_hostname
)
{
{
struct
hostent
*
host_ent
;
struct
hostent
*
host_ent
;
...
...
src/backend/utils/misc/guc.c
View file @
c948a3f4
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* command, configuration file, and command line options.
* command, configuration file, and command line options.
* See src/backend/utils/misc/README for more information.
* See src/backend/utils/misc/README for more information.
*
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.10
4 2002/11/15 01:40:19
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.10
5 2002/11/15 01:57:27
momjian Exp $
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
* Written by Peter Eisentraut <peter_e@gmx.net>.
...
@@ -476,7 +476,7 @@ static struct config_bool
...
@@ -476,7 +476,7 @@ static struct config_bool
#endif
#endif
{
{
{
"
hostname_lookup"
,
PGC_SIGHUP
},
&
HostnameLookup
,
{
"
log_hostname"
,
PGC_SIGHUP
},
&
log_hostname
,
false
,
NULL
,
NULL
false
,
NULL
,
NULL
},
},
{
{
...
...
src/backend/utils/misc/postgresql.conf.sample
View file @
c948a3f4
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#superuser_reserved_connections = 2
#superuser_reserved_connections = 2
#port = 5432
#port = 5432
#hostname_lookup = false
#unix_socket_directory = ''
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_group = ''
...
@@ -121,6 +120,7 @@
...
@@ -121,6 +120,7 @@
#silent_mode = false
#silent_mode = false
#log_connections = false
#log_connections = false
#log_hostname = false
#log_source_port = false
#log_source_port = false
#log_pid = false
#log_pid = false
#log_statement = false
#log_statement = false
...
...
src/include/tcop/tcopprot.h
View file @
c948a3f4
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: tcopprot.h,v 1.5
2 2002/11/15 01:40:20
momjian Exp $
* $Id: tcopprot.h,v 1.5
3 2002/11/15 01:57:28
momjian Exp $
*
*
* OLD COMMENTS
* OLD COMMENTS
* This file was created so that other c files could get the two
* This file was created so that other c files could get the two
...
@@ -30,7 +30,7 @@ extern DLLIMPORT sigjmp_buf Warn_restart;
...
@@ -30,7 +30,7 @@ extern DLLIMPORT sigjmp_buf Warn_restart;
extern
bool
Warn_restart_ready
;
extern
bool
Warn_restart_ready
;
extern
bool
InError
;
extern
bool
InError
;
extern
CommandDest
whereToSendOutput
;
extern
CommandDest
whereToSendOutput
;
extern
bool
HostnameLookup
;
extern
bool
log_hostname
;
extern
bool
LogSourcePort
;
extern
bool
LogSourcePort
;
extern
DLLIMPORT
char
*
debug_query_string
;
extern
DLLIMPORT
char
*
debug_query_string
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment