postgres.git / summary / log / commit / refs

commit    a1bb5a480df44e518957abca0de2d04aaba5bf02
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Fri Mar 11 15:31:25 2011 +0000

    Document how listen_addresses can do only IPv4 or IPv6.


doc/src/sgml/config.sgml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. [parent: 30e8b3e58ed5]