+22
−3
+30
−0
+21
−0
+15
−2
Loading
PgBouncer in transaction-pooling mode does not support server-side prepared statements, which is pgx's default (QueryExecModeCacheStatement). This causes 'prepared statement already exists' errors in production. Default to QueryExecModeSimpleProtocol, matching the Container Registry's approach and GitLab.com's deployment topology. Expose QueryExecMode as a Config field so consumers connecting directly to PostgreSQL can opt into cached statements when desired.