Replies: 1 comment
-
nevermind, seems i need |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, i'm porting a codebase from
lib/pq
topgx
, and it's working fine, but i may need to optionally disable prepared statements completely. i know i can setconf.DefaultQueryExecMode
to one of the values in https://pkg.go.dev/github.com/jackc/pgx/v5#QueryExecMode , but there are a lot of possible values, and they sound complicated :). so, which value should i use if i only care about making old-pgbouncer work, and making sure there are no observable differences in behavior compared to the default exec mode?QueryExecModeSimpleProtocol
? orQueryExecModeExec
?Beta Was this translation helpful? Give feedback.
All reactions