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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Дата
Msg-id 1570124.1760653327@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Option on `postgres` CLI to shutdown when there are no more active connections?  (Greg Sabino Mullane <htamfids@gmail.com>)
Ответы Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Список pgsql-general
Greg Sabino Mullane <htamfids@gmail.com> writes:
> 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.

In particular, it's not terribly clear why the existing "smart"
shutdown mode isn't sufficient.

            regards, tom lane



В списке pgsql-general по дате отправления: