Re: Option on `postgres` CLI to shutdown when there are no more active connections?

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: David Barsky <me(at)davidbarsky(dot)com>
Cc: Dominique Devienne <ddevienne(at)gmail(dot)com>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Date: 2025-10-16 22:18:57
Message-ID: CAKAnmm+PUsTvXyyV3iWRDSS9qW2F0SBVXjqg_ZmpwpCy0xM4XQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 13, 2025 at 3:19 PM David Barsky <me(at)davidbarsky(dot)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

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2025-10-16 22:22:07 Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Previous Message Greg Sabino Mullane 2025-10-16 22:04:49 Re: Enquiry about TDE with PgSQL