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

Ron Johnson <ronljohnsonjr@gmail.com>

From: Ron Johnson <ronljohnsonjr@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-10-13T15:07:53Z
Lists: pgsql-general
On Mon, Oct 13, 2025 at 4:47 AM Dominique Devienne <ddevienne@gmail.com>
wrote:
[snip]

> There's apparently no way to abstract the "transport" between libpq
> and the server, must be TCP (or *nix only socket files), cannot be an
> in-memory channel (for the embedded non-shared case),
>

I'd bet a nickel that local socket transfers all stay in memory.


> nor shared-memory (for the shared-case across localhost processes).
>

Shared memory means that I can stomp all over you, and you can't stop me.
That's the antithesis of ACID.

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!