mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add:
#log_line_prefix = '' # e.g. '<%u%%%d> ' # %u=user name %d=database name # %r=remote host and port # %p=PID %t=timestamp %i=command tag # %c=session id %l=session line number # %s=session start timestamp # %x=stop here in non-session processes # %%='%' 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.188 2004/02/23 20:45:59 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.189 2004/03/09 04:43:07 momjian Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -1495,6 +1495,16 @@ static struct config_string ConfigureNamesString[] =
|
||||
"panic", assign_min_error_statement, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"log_line_prefix", PGC_SIGHUP, LOGGING_WHAT,
|
||||
gettext_noop("Controls information prefixed to each log line"),
|
||||
gettext_noop("if blank no prefix is used")
|
||||
},
|
||||
&Log_line_prefix,
|
||||
"", NULL, NULL
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
{"DateStyle", PGC_USERSET, CLIENT_CONN_LOCALE,
|
||||
gettext_noop("Sets the display format for date and time values."),
|
||||
|
Reference in New Issue
Block a user