Document how listen_addresses can do only IPv4 or IPv6.

This commit is contained in:
Bruce Momjian 2011-03-11 10:31:25 -05:00
parent 30e8b3e58e
commit a1bb5a480d
1 changed files with 3 additions and 1 deletions

View File

@ -324,7 +324,9 @@ SET ENABLE_SEQSCAN TO OFF;
to listen for connections from client applications. to listen for connections from client applications.
The value takes the form of a comma-separated list of host names The value takes the form of a comma-separated list of host names
and/or numeric IP addresses. The special entry <literal>*</> 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 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 at all, in which case only Unix-domain sockets can be used to connect
to it. to it.