-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
Hey there!
I see go-kallax is using squirrel's statement cacher, which is a good thing, but will not work when using pgbouncer in transaction pooling mode. The lib/pq maintainers have added support to pass binary_parameters=yes
to disable prepared statements for this very reason. However, the statement cacher explicitly uses a prepared statement for each query, which isn't something lib/pq can work around. Would you consider accepting a patch that optionally disables the statement cacher to avoid prepared statements to work with pgbouncer in transaction pooling mode? If so, I'll get right on it. Thanks!
cc @roobre