LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File postgresql-conf.patch of Package postgresql (Project home:okilani)

--- src/backend/utils/misc/postgresql.conf.sample
+++ src/backend/utils/misc/postgresql.conf.sample
@@ -221,12 +221,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
 					# (change requires restart)
 
@@ -243,7 +243,7 @@
 					# or size-driven rotation. Default is
 					# off, meaning append to existing files
 					# in all cases.
-#log_rotation_age = 1d			# Automatic rotation of logfiles will 
+log_rotation_age = 0			# Automatic rotation of logfiles will 
 					# happen after that time.  0 to 
 					# disable.
 #log_rotation_size = 10MB		# Automatic rotation of logfiles will 
@@ -299,7 +299,7 @@
 #log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements
 					# and their durations.
 
-#silent_mode = off			# DO NOT USE without syslog or 
+silent_mode = on			# DO NOT USE without syslog or 
 					# redirect_stderr
 					# (change requires restart)
 
@@ -312,7 +312,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
@@ -361,7 +361,7 @@
 # AUTOVACUUM PARAMETERS
 #---------------------------------------------------------------------------
 
-#autovacuum = off			# enable autovacuum subprocess?
+autovacuum = on				# enable autovacuum subprocess?
 #autovacuum_naptime = 1min		# time between autovacuum runs
 #autovacuum_vacuum_threshold = 500	# min # of tuple updates before
 					# vacuum