Skip site navigation (1) Skip section navigation (2)

Added comments to postgresql.conf file

From: Troels Arvin <troels(at)arvin(dot)dk>
To: pgsql-patches(at)postgresql(dot)org
Subject: Added comments to postgresql.conf file
Date: 2003-07-27 18:33:25
Message-ID: pan.2003.07.27.18.33.23.30044@arvin.dk (view raw or flat)
Thread:
Lists: pgsql-patches
I suggest that the following patch be applied. It adds a few more comments
to postgresql.conf.

(I always forget what the magic numbers 0 through 2 means for the "syslog"
option.)

By the way: The "virtual_host" parameter is a bad name for that particular
option, I think. "Virtual host" signals that PostgreSQL will behave
differently according to which IP address it's contacted (like Apache's
virtual host support which makes the web-server serve different sites
according to different criteria). A better word for the options would be
"tcpip_listen_addr" or something like that.

diff -ur pgsql/src/backend/utils/misc/postgresql.conf.sample troels-pgsql/src/backend/utils/misc/postgresql.conf.sample
--- pgsql/src/backend/utils/misc/postgresql.conf.sample	2003-07-27 20:14:50.000000000 +0200
+++ troels-pgsql/src/backend/utils/misc/postgresql.conf.sample	2003-07-27 20:24:07.000000000 +0200
@@ -37,7 +37,7 @@
 #unix_socket_directory = ''
 #unix_socket_group = ''
 #unix_socket_permissions = 0777	# octal
-#virtual_host = ''
+#virtual_host = ''		# what interface to listen on; defaults to any
 #rendezvous_name = ''		# defaults to the computer name
 
 # - Security & Authentication -
@@ -137,7 +137,7 @@
 
 # - Syslog -
 
-#syslog = 0			# range 0-2
+#syslog = 0			# range 0-2; 0=stdout; 1=both; 2=syslog
 #syslog_facility = 'LOCAL0'
 #syslog_ident = 'postgres'

-- 
Greetings from Troels Arvin, Copenhagen, Denmark



Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-07-27 19:33:16
Subject: Re: Eliminate information_schema from oid2name listing
Previous:From: Tom LaneDate: 2003-07-27 16:17:16
Subject: Re: ruleutils with pretty-print option

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group