Hi, On 2021-10-25 16:02:34 -0400, Tom Lane wrote: > So I'd like a better idea, but I'm not sure that that one is better.
I guess we could move the prepared-statement handling into a query execution helper. That could then use a hashtable or something similar to check if a certain prepared statement already exists. That'd then centrally be extensible to deal with multiple connects etc. Greetings, Andres Freund