Re: [PATCH] Allow Postgres to pick an unused port to listen - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Allow Postgres to pick an unused port to listen
Date
Msg-id 416570.1683557368@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Allow Postgres to pick an unused port to listen  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: [PATCH] Allow Postgres to pick an unused port to listen
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> This made me wonder if storing the unadorned port number is really the
> best way.  Suppose we did extend things so that we listen on different
> ports on different interfaces; how would this scheme work at all?

Yeah, the probability that that will happen someday is one of the
things bothering me about this proposal.  I'd rather change the
file format to support that first (it can be dummy for now, with
all lines showing the same port), and then document it second.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: WAL Insertion Lock Improvements
Next
From: Peter Eisentraut
Date:
Subject: Re: Improve list manipulation in several places