Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v8K9j-00GKne-7u for pgsql-general@arkaria.postgresql.org; Mon, 13 Oct 2025 15:08:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v8K9g-006MDI-FO for pgsql-general@arkaria.postgresql.org; Mon, 13 Oct 2025 15:08:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v8K9g-006MDA-4T for pgsql-general@lists.postgresql.org; Mon, 13 Oct 2025 15:08:09 +0000 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v8K9e-001wtP-2g for pgsql-general@lists.postgresql.org; Mon, 13 Oct 2025 15:08:08 +0000 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-30cce534a91so1200134fac.0 for ; Mon, 13 Oct 2025 08:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760368085; x=1760972885; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=iujVsq6eCAIA4VcE6cuE2glBb3CySa6xWwPeiDy19oc=; b=H2CfOsG5UiqwHihj7VCOftVF0/Dt9BeYb15SDxTz6cypigptSGg+MZ01vzZ4A8NH8G l0fxR/V+9bdBOguFgD1tg+Ik9vySXP5+uhtrzEQmptlL8XeXVISb6+VH5udjzg/rHfh+ vcQ+QS2WgEhzFBPp5ZbqEmeA8Wuxpa1tI3zjtAt/ZnOId2VSv6BsCD67tCfov1+T6DW6 D5fDh9fQKDxeIzDUCJOqSWahXG13jGfByCwE5eUHSqVzVAZg7gzRwf2u9Y51c5Tu/Q1k KNqt+zyXMZDnFWsnIugtMTgsBQp17knOT5w78bwAEpgXphwzXESnnh/pwH5iJX7yqugB xlQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760368085; x=1760972885; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iujVsq6eCAIA4VcE6cuE2glBb3CySa6xWwPeiDy19oc=; b=Vp+fcGbRy7Mzsae6IvkEgG23ov/OuCT+t0feUsoeZxHwZt2i9EhYgxl/1tbGtouFOp w63A/rvuZO7nK0NLdljUbRoWohjnhEW4wXHceqx1R6aWzajzXiYTtJNTJYcmGBuava6m G2MgzOSjDZEBqeI+nPBdklteX0MWtnxl96p6dhQaDhLAs2nSViwaIcCP617WJYkS/ZZk 4GuSYlpEwP57ZaK6pv5TKRyU7oqh9vbakrVH8Orh94a3ucEQcgleVcrDqyU6227RK/GK a7jRir/dZ1Y14yIZcYfP3R2yelG2usjXWFY4+EsdrT7vVPYpgQUvFtHAbMm5CNCuYnPC kj1A== X-Gm-Message-State: AOJu0Yx1DVsD9D9+VHSNkaokVCFZCWYa899pS8tq62LeFYmR9959kFE0 UyN/LPZgazuAWFlZcpGhW3/aJjpd/AL1e8YrDhziTQesPK5fIEvJwXG0pPwuflmXRHMq35/Kn3/ iKAyGo8VnAofQWph3pCR1G7NPLA2FdsV7UA== X-Gm-Gg: ASbGncvWzoPZS5wSD/A62uurZIa2+s7Um6o6pRp5dTi3Ey13VJVLfBPOJYFN3n4fc02 sjDjVpfeZrMC+ydmIKtWRWU0Zd3X8NnQjpELfIN0vlKsMOx5fWaDOUDtbgmKypfyn0wRDicTsK3 Yv/UlmJCdzwI9LqzGle7HbTLjap32sMhtzKQ5UFVXFVk2M6u6WCAcsb5ayI+LOa38gUgiRmTDOv l7yFKn6scg7T3+KYBOMfc8YSu4= X-Google-Smtp-Source: AGHT+IGu03z2DTCF2kQlROmn9lvkyoZafhypdGf9nQ0QLL9iul6cXdvI59Vco4phkW8Gqd+dJDUPtY/6dXnihXW/QP8= X-Received: by 2002:a05:6871:2b07:b0:358:6a7c:6eb9 with SMTP id 586e51a60fabf-3c0f61ff654mr9679860fac.15.1760368084837; Mon, 13 Oct 2025 08:08:04 -0700 (PDT) MIME-Version: 1.0 References: <73ff46d2-0bad-4a8d-9928-e494c2d5b0d1@gmail.com> <93702.1760321769@sss.pgh.pa.us> In-Reply-To: From: Ron Johnson Date: Mon, 13 Oct 2025 11:07:53 -0400 X-Gm-Features: AS18NWARv49lszk-qe7NZWl0F3QYnx36txNXl18rECEDrFox9l1lJhINoczBJ1c Message-ID: Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections? To: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="0000000000005eea0206410ba2e7" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000005eea0206410ba2e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 13, 2025 at 4:47=E2=80=AFAM Dominique Devienne 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. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000005eea0206410ba2e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 13, 2025 at 4:47=E2=80=AFAM D= ominique Devienne <ddevienne@gmai= l.com> wrote:
=
[snip]=C2=A0
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.
=C2=A0
nor shared-memory (for the shared-case across localhost processes).

Shared memory means that I ca= n stomp all over you, and you can't stop me.=C2=A0 That's the antit= hesis of ACID.

-= -
De= ath to <Redacted>, and butter sauce.
Don't boil me, I'm s= till alive.
<Redacted> lobster!
<= /div>
--0000000000005eea0206410ba2e7--