Listening on more than one port?

From: "Michael Nolan" <htfoot(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Listening on more than one port?
Date: 2006-08-30 19:42:58
Message-ID: 4abad0eb0608301242s7421e47elb1fd3fd2b0e1c4d2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I need to be able to have postmaster (8.1.2) listen on more than one port,
eg, 5432 and some other port, such as 5431.

There does not appear to be a way to configure that. You can configure
multiple IP addresses, but not multiple ports.

If I set up a TCP port redirector like rinetd, to forward packets from port
5431 to port 5432 it appears to be forwarding packets to the right port with
a simple telnet session (based on errors in the log file) but psql still
says there is no postmaster listening on port 5431.

Is there a simple way to do this that I'm overlooking?
--
Mike Nolan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2006-08-30 19:55:51 Re: Status on Fedora Core Extras packaging
Previous Message Tony Caduto 2006-08-30 19:41:35 Re: Dblink and connections to MySQL?