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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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