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

From Adrian Klaver
Subject Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Date
Msg-id 15c40010-da97-4a87-9eab-8c23a72c0816@aklaver.com
Whole thread Raw
In response to Re: Option on `postgres` CLI to shutdown when there are no more active connections?  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Option on `postgres` CLI to shutdown when there are no more active connections?
List pgsql-general
On 10/11/25 19:56, Ron Johnson wrote:
> On Sat, Oct 11, 2025 at 7:11 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 

> I think OP is looking for AUTO_CLOSE, like SQL Server (and Rdb/VMS 
> before it).  Its only real utility is OP's use-case: a Windows 
> desktop running local testing.

 From the original post:

"Is there any interest in adding a command line option to the `postgres`
CLI"

Which I took to mean:

https://www.postgresql.org/docs/current/app-postgres.html

> 
> We in the shell scripting daemon world don't think like that.
> 
> -- 
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Next
From: Ron Johnson
Date:
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?