Thread
-
Re: future of PQfn()
Nathan Bossart <nathandbossart@gmail.com> — 2026-05-28T15:17:41Z
On Wed, May 27, 2026 at 02:39:53PM -0700, Jacob Champion wrote: > 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. I've been thinking through a bunch of options here, and a new protocol message seems like the best choice, if for no other reason than it solves a general problem for clients. I'm working on a patch that I'll post in a new thread. -- nathan