Re: future of PQfn()

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2026-05-27T21:39:53Z
Lists: pgsql-hackers
On Tue, May 26, 2026 at 12:55 PM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> I wonder how difficult it would be to teach the protocol to advise clients
> when prepared statements are deallocated...

Probably not too difficult. But it seems like most, if not all, of the
stuff in the DISCARD ALL umbrella is a target for a feature like
that... This feels a lot like the perennial request for proxies to be
able to separate their own context from the per-application/per-user
contexts running on top of them.

--Jacob