postmaster listening on specified addresses

Поиск
Список
Период
Сортировка
От Administrator
Тема postmaster listening on specified addresses
Дата
Msg-id 41E82B68.5080100@photoresearchers.com
обсуждение исходный текст
Ответы Re: postmaster listening on specified addresses  (Doug McNaught <doug@mcnaught.org>)
Re: postmaster listening on specified addresses  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Hello,

I was wondering if there's a correct method for running postmaster with the
option of listening on a select group of addresses.  Does postmaster accept
multiple "-h hostname" options on the command-line, or alternatively a
comma-separated list of hostnames or addresses?  What if you have a server with
multiple network interfaces and addresses assigned to each, and you only want
postmaster to listen on a specific subset of those addresses in addition to
localhost?  Does anyone know if there a supported method for doing this?

The documentation for the "-h" option only states: "Specifies the TCP/IP host
name or address on which the postmaster is to listen for connections from client
applications. Defaults to listening on all configured addresses (including
localhost)."  Clearly the server is capable of listening on mutliple addresses
since the default is all of them, but the "-h" option is described only for use
with a single address.

Thanks,

Brian Carp

В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: OID Usage
Следующее
От: Tony Caduto
Дата:
Сообщение: is there anyway to get the backends IP address from the PID?