Thread

  1. Re: alert clients when prepared statements are deallocated

    Jacob Champion <jacob.champion@enterprisedb.com> — 2026-05-29T17:07:34Z

    On Fri, May 29, 2026 at 9:33 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
    > > I'm certainly open to other ideas, but I'm afraid this is the best I've
    > > come up with in my admittedly limited time thinking about the problem.
    
    Grab bag of alternatives from the other thread:
    
    - let drivers pin protocol-level prepared statements so that
    application-level DISCARD doesn't touch them
    - explicitly separate client and middleware contexts or streams from each other
    - rebuild discarded prepared statements opportunistically on a failure
    
    --Jacob