On Wed, Apr 12, 2023 at 1:56 PM Tom Lane <t...@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


Reply via email to