From 2e45c143ef5963aa0f705350a017404c9b107f27 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 23 Mar 2004 01:23:48 +0000 Subject: Replace the virtual_host and tcpip_socket parameters with a unified listen_addresses parameter, as per recent discussion. The default behavior is now to listen on localhost, which eliminates the need for the -i postmaster switch in many scenarios. Andrew Dunstan --- src/backend/utils/misc/postgresql.conf.sample | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 91b0340963c..3bec1e9a757 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -27,17 +27,17 @@ # - Connection Settings - -#tcpip_socket = false +#listen_addresses = 'localhost' # what IP interface(s) to listen on; + # defaults to localhost, '*' = any +#port = 5432 #max_connections = 100 # note: increasing max_connections costs about 500 bytes of shared # memory per connection slot, in addition to costs from shared_buffers # and max_locks_per_transaction. #superuser_reserved_connections = 2 -#port = 5432 #unix_socket_directory = '' #unix_socket_group = '' #unix_socket_permissions = 0777 # octal -#virtual_host = '' # what interface to listen on; defaults to any #rendezvous_name = '' # defaults to the computer name # - Security & Authentication - -- cgit v1.2.3