public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Date: Sat, 11 Oct 2025 20:21:06 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANzqJaBOWpoBDSNsxO=+zna1DEAqUNct5wm=4vQsOXiPwY7x=Q@mail.gmail.com>
References: <CAPR5_5psNqCm1OQr5LL4v6z02Sh=2YHYUg8NY+3xMzfGHfKs+w@mail.gmail.com>
	<[email protected]>
	<CANzqJaBOWpoBDSNsxO=+zna1DEAqUNct5wm=4vQsOXiPwY7x=Q@mail.gmail.com>

On 10/11/25 19:56, Ron Johnson wrote:
> On Sat, Oct 11, 2025 at 7:11 PM Adrian Klaver <[email protected] 
> <mailto:[email protected]>> 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
[email protected]






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox