mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Remove GUC log_statement, log_pid, log_timestamp, log_source_port.
Functionality superceeded by log_line_prefix. Andrew Dunstan
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.189 2004/03/09 04:43:07 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.190 2004/03/15 15:56:24 momjian Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@@ -508,22 +508,6 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
&Log_disconnections,
|
||||
false, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"log_timestamp", PGC_SIGHUP, LOGGING_WHAT,
|
||||
gettext_noop("Prefixes server log messages with a time stamp."),
|
||||
NULL
|
||||
},
|
||||
&Log_timestamp,
|
||||
false, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"log_pid", PGC_SIGHUP, LOGGING_WHAT,
|
||||
gettext_noop("Prefixes server log messages with the server PID."),
|
||||
NULL
|
||||
},
|
||||
&Log_pid,
|
||||
false, NULL, NULL
|
||||
},
|
||||
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
{
|
||||
@@ -750,15 +734,6 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
&log_hostname,
|
||||
false, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"log_source_port", PGC_SIGHUP, LOGGING_WHAT,
|
||||
gettext_noop("Logs the outgoing port number of the connecting host."),
|
||||
NULL
|
||||
},
|
||||
&LogSourcePort,
|
||||
false, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"sql_inheritance", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
|
||||
gettext_noop("Causes subtables to be included by default in various commands."),
|
||||
|
||||
@@ -184,7 +184,6 @@
|
||||
#log_connections = false
|
||||
#log_disconnections = false
|
||||
#log_duration = false
|
||||
#log_pid = false
|
||||
#log_line_prefix = '' # e.g. '<%u%%%d> '
|
||||
# %u=user name %d=database name
|
||||
# %r=remote host and port
|
||||
@@ -194,9 +193,7 @@
|
||||
# %x=stop here in non-session processes
|
||||
# %%='%'
|
||||
#log_statement = false
|
||||
#log_timestamp = false
|
||||
#log_hostname = false
|
||||
#log_source_port = false
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user