is there any way to add &binary_parameters=yes
in postgres URL/config/DSN
#6936
-
SummaryI'm getting error in k8s, using Digitaloceans hosted Postgres DB with connection pool(backed by pg bouncer by Digitalocean) size 5 in transaction mode.
...
postgres:
host: private-xxxx
port: xxx
sslmode: require
connectTimeout: 5m
database: concourse
... error
https://blog.bullgare.com/2019/06/pgbouncer-and-prepared-statements Steps to reproduceDeploy concourse helm chart version 15.0.2 with connection pool by pgbouncer size of 5 in trasnaction mode Expected resultsit should work if we didn't use without getting turbulence error in UI Actual resultsgetting terbulence error in UI and below in web pod
Additional contextfound something realted to https://blog.bullgare.com/2019/06/pgbouncer-and-prepared-statements/ Triaging info
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I'm also facing this when I use pgbouncer in front of postgres. I had to use session pooling mode to avoid this problem in the meantime, which is not as efficient. |
Beta Was this translation helpful? Give feedback.
-
FYI: We've changed our sql driver from lib/pq to pgx: #9066 Based on recent discussion from pgx users: jackc/pgx#1784 |
Beta Was this translation helpful? Give feedback.
I created concourse/flag#9 to add support to concourse/flag where the DSN for github.com/lib/pq is assembled.