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+TgmobqLiXUxZuhnp3O0he4RW1=22V5=QvFwdhXDuAHQVDS3g@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Allow Postgres to pick an unused port to listen  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Allow Postgres to pick an unused port to listen
List pgsql-hackers
On Wed, Apr 12, 2023 at 1:56 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Yeah.  My main concern here is with limiting our ability to change
> the pidfile format in future.  If we can keep the dependencies on that
> localized to code we control, it'd be much better.

I don't know if it's considered officially supported, but I often use
pg_ctl stop on a directory without worrying about whether I'm doing it
with the same server version that's running in that directory. I'd be
reluctant to break that property. So I bet our ability to modify the
file format is already quite limited.

But again, no issue with having a way for pg_ctl to fish the
information out of there.

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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Allowing parallel-safe initplans
Next
From: Andres Freund
Date:
Subject: Re: Wrong results from Parallel Hash Full Join