aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-03-11 10:31:25 -0500
committerBruce Momjian <bruce@momjian.us>2011-03-11 10:31:43 -0500
commita1bb5a480df44e518957abca0de2d04aaba5bf02 (patch)
treef29468487ee58cee12f557588f225bec89e88538 /doc/src
parent30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5 (diff)
downloadpostgresql-a1bb5a480df44e518957abca0de2d04aaba5bf02.tar.gz
postgresql-a1bb5a480df44e518957abca0de2d04aaba5bf02.zip
Document how listen_addresses can do only IPv4 or IPv6.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 8e27f730a41..0c682c833b2 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -324,7 +324,9 @@ SET ENABLE_SEQSCAN TO OFF;
to listen for connections from client applications.
The value takes the form of a comma-separated list of host names
and/or numeric IP addresses. The special entry <literal>*</>
- corresponds to all available IP interfaces.
+ corresponds to all available IP interfaces. The entry
+ <literal>0.0.0.0</> allows listening for all IPv4 addresses and
+ <literal>::</> allows listening for all IPv6 addresses.
If the list is empty, the server does not listen on any IP interface
at all, in which case only Unix-domain sockets can be used to connect
to it.