Re: Option on `postgres` CLI to shutdown when there are no more active connections? - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Date
Msg-id CAKAnmm+PUsTvXyyV3iWRDSS9qW2F0SBVXjqg_ZmpwpCy0xM4XQ@mail.gmail.com
Whole thread Raw
In response to Re: Option on `postgres` CLI to shutdown when there are no more active connections?  (David Barsky <me@davidbarsky.com>)
Responses Re: Option on `postgres` CLI to shutdown when there are no more active connections?
List pgsql-general
On Mon, Oct 13, 2025 at 3:19 PM David Barsky <me@davidbarsky.com> wrote:
Anyways, I'll try to get at what motivated this whole discussion: would there be community opposition to adding a CLI flag that'd exit/shutdown all Postgres
processes once all pending connections close?

I don't know about opposition, per se, but the onus is on you to provide a strong use case not already covered by existing tools. I don't think that bar has been met yet.

--
Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Enquiry about TDE with PgSQL
Next
From: Tom Lane
Date:
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?