X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=postgresql-conf.patch;h=7ff48eb8a38fb5ddf3320a172d67581ec7c72eb7;hb=5b81d3191624bfa1fdc7eea1ef69d117686f95c8;hp=673f5433d135b7e815746316dd05cbdcd2a808de;hpb=6091e2287010fcd494f76781633f0d413f79ea90;p=packages%2Fpostgresql.git diff --git a/postgresql-conf.patch b/postgresql-conf.patch index 673f543..7ff48eb 100644 --- a/postgresql-conf.patch +++ b/postgresql-conf.patch @@ -1,35 +1,33 @@ ---- postgresql-8.0.0beta2/src/backend/utils/misc/postgresql.conf.sample 2004-08-12 21:03:36.000000000 +0200 -+++ postgresql-8.0.0beta2/src/backend/utils/misc/postgresql.conf.sample.new 2004-09-05 20:54:31.087203264 +0200 -@@ -164,7 +164,7 @@ +--- postgresql-8.3RC1/src/backend/utils/misc/postgresql.conf.sample.orig 2007-12-07 16:44:56.000000000 +0000 ++++ postgresql-8.3RC1/src/backend/utils/misc/postgresql.conf.sample 2008-01-07 22:19:56.904649611 +0000 +@@ -253,7 +253,7 @@ # - Where to Log - --#log_destination = 'stderr' # Valid values are combinations of stderr, -+log_destination = 'syslog' # Valid values are combinations of stderr, - # syslog and eventlog, depending on - # platform. - -@@ -180,8 +180,8 @@ - # so many kilobytes of log output. 0 to disable. +-#log_destination = 'stderr' # Valid values are combinations of ++log_destination = 'syslog' # Valid values are combinations of + # stderr, csvlog, syslog, and eventlog, + # depending on platform. csvlog + # requires logging_collector to be on. +@@ -262,8 +262,8 @@ + # 0 disables. # These are relevant when logging to syslog: -#syslog_facility = 'LOCAL0' -#syslog_ident = 'postgres' +-#syslog_sequence_numbers = on +syslog_facility = 'LOCAL0' +syslog_ident = 'postgres' ++syslog_sequence_numbers = on + #syslog_split_messages = on - - # - When to Log - -@@ -211,10 +211,10 @@ - #debug_print_rewritten = false - #debug_print_plan = false - #debug_pretty_print = false --#log_connections = false -+log_connections = true - #log_disconnections = false - #log_duration = false --#log_line_prefix = '' # e.g. '<%u%%%d> ' -+log_line_prefix = '<%p> ' # e.g. '<%u%%%d> ' - # %u=user name %d=database name - # %r=remote host and port - # %p=PID %t=timestamp %i=command tag + # This is only relevant when logging to eventlog (win32): +@@ -324,7 +324,7 @@ + #debug_print_plan = off + #debug_pretty_print = off + #log_checkpoints = off +-#log_connections = off ++log_connections = on + #log_disconnections = off + #log_duration = off + #log_hostname = off