Search Postgresql Archives

postmaster listening on specified addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux