Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d4be99f

Browse files
committed
(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. Troels Arvin
1 parent 3297804 commit d4be99f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/misc/postgresql.conf.sample

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#unix_socket_directory = ''
3838
#unix_socket_group = ''
3939
#unix_socket_permissions = 0777 # octal
40-
#virtual_host = ''
40+
#virtual_host = '' # what interface to listen on; defaults to any
4141
#rendezvous_name = '' # defaults to the computer name
4242

4343
# - Security & Authentication -
@@ -137,7 +137,7 @@
137137

138138
# - Syslog -
139139

140-
#syslog = 0 # range 0-2
140+
#syslog = 0 # range 0-2; 0=stdout; 1=both; 2=syslog
141141
#syslog_facility = 'LOCAL0'
142142
#syslog_ident = 'postgres'
143143

0 commit comments

Comments
 (0)