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

From Robert Haas
Subject Re: [PATCH] Allow Postgres to pick an unused port to listen
Date
Msg-id CA+TgmoaF7Lq-ikr-5=i8fyV6ivyiodLJm5F2+06Xm-Nmz4+dFA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Allow Postgres to pick an unused port to listen  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
On Mon, Apr 24, 2023 at 10:16 AM Peter Eisentraut
<peter.eisentraut@enterprisedb.com> wrote:
> Right.  I'm perfectly content with just allowing port number 0 and
> leaving it at that.

That seems fine to me, too. If somebody wants to add a pg_ctl feature
to extract this or any other information from the postmaster.pid file,
that can be a separate patch. But it's not necessarily the case that
users would even prefer that interface. Some might, some might not. Or
so it seems to me, anyway.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: WAL Insertion Lock Improvements
Next
From: Robert Haas
Date:
Subject: Re: base backup vs. concurrent truncation