Re: alert clients when prepared statements are deallocated

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: alert clients when prepared statements are deallocated
Date: 2026-06-03 14:37:54
Message-ID: aiA8QjUaeECCL-pt@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-06-03 15:11:37 Re: Heads Up: cirrus-ci is shutting down June 1st
Previous Message Zsolt Parragi 2026-06-03 14:36:53 Re: Fix bug of CHECK constraint enforceability recursion