pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: alert clients when prepared statements are deallocated
Date: Wed, 3 Jun 2026 09:37:54 -0500
Message-ID: <aiA8QjUaeECCL-pt@nathan> (raw)
In-Reply-To: <CAN4CZFP5HL9Gf_-AnFN+w7MbMCNNnzN=3u-_+rk-G-JUiEzLZA@mail.gmail.com>
References: <ahm_4eOKkkKJ3Gds@nathan>
	<1689313.1780074543@sss.pgh.pa.us>
	<ahna7lre-xAn7DIS@nathan>
	<ah9VKGwwlgqF-hi7@nathan>
	<CAN4CZFP5HL9Gf_-AnFN+w7MbMCNNnzN=3u-_+rk-G-JUiEzLZA@mail.gmail.com>

On Wed, Jun 03, 2026 at 07:14:53AM -0700, Zsolt Parragi wrote:
> DropAllPreparedStatements has an early return if prepared_queries is
> uninitialized, so we don't send anything in that case - but it calls
> SendStmtDeallocMsg if it is initialized even when no nothing was
> removed. This seems inconsistent to me, is it intentional?

Nope, will fix.

-- 
nathan





view thread (13+ messages)  latest in thread

Message-ID: <aiA8QjUaeECCL-pt@nathan>
Permalink:  ../aiA8QjUaeECCL-pt@nathan/
Also on:    postgresql.org/message-id/aiA8QjUaeECCL-pt@nathan

 · 

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: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, zsolt.parragi@percona.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: alert clients when prepared statements are deallocated
  In-Reply-To: <aiA8QjUaeECCL-pt@nathan>

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

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