File postgresql-conf.patch of Package postgresql

--- src/backend/utils/misc/postgresql.conf.sample
+++ src/backend/utils/misc/postgresql.conf.sample
@@ -206,12 +206,12 @@
 
 # - Where to Log -
 
-#log_destination = 'stderr'		# Valid values are combinations of 
+log_destination = 'stderr'		# Valid values are combinations of 
 					# stderr, syslog and eventlog, 
 					# depending on platform.
 
 # This is used when logging to stderr:
-#redirect_stderr = off			# Enable capturing of stderr into log 
+redirect_stderr = on			# Enable capturing of stderr into log 
 					# files
 
 # These are only used if redirect_stderr is on:
@@ -227,10 +227,10 @@
 					# or size-driven rotation. Default is
 					# off, meaning append to existing files
 					# in all cases.
-#log_rotation_age = 1440		# Automatic rotation of logfiles will 
+log_rotation_age = 0			# Automatic rotation of logfiles will 
 					# happen after so many minutes.  0 to 
 					# disable.
-#log_rotation_size = 10240		# Automatic rotation of logfiles will 
+log_rotation_size = 10240		# Automatic rotation of logfiles will 
 					# happen after so many kilobytes of log
 					# output.  0 to disable.
 
@@ -283,7 +283,7 @@
 #log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements
 					# and their durations, in milliseconds.
 
-#silent_mode = off			# DO NOT USE without syslog or 
+silent_mode = on			# DO NOT USE without syslog or 
 					# redirect_stderr
 
 # - What to Log -
@@ -295,7 +295,7 @@
 #log_connections = off
 #log_disconnections = off
 #log_duration = off
-#log_line_prefix = ''			# Special values:
+log_line_prefix = '%t %d %u '			# Special values:
 					#   %u = user name
 					#   %d = database name
 					#   %r = remote host and port
@@ -340,7 +340,7 @@
 # AUTOVACUUM PARAMETERS
 #---------------------------------------------------------------------------
 
-#autovacuum = off			# enable autovacuum subprocess?
+autovacuum = on				# enable autovacuum subprocess?
 #autovacuum_naptime = 60		# time between autovacuum runs, in secs
 #autovacuum_vacuum_threshold = 1000	# min # of tuple updates before
 					# vacuum
openSUSE Build Service is sponsored by