hallowed-hydrogen-55872
04/30/2024, 11:36 PMbinary_parameters=yes
working with the Postgres connection. My understanding is that it should work as a DSN parameter with lib/pq
. But I get an error if I include this parameter stating it is an unsupported startup parameter. I’m not sure which library produces this error.
We need this parameter because we use PG Bouncer.hallowed-hydrogen-55872
05/01/2024, 1:18 AMconfig.ConnConfig.StatementCacheCapacity = 0 // disable statement cache
config.ConnConfig.DefaultQueryExecMode = pgx.QueryExecModeSimpleProtocol // disable statement cache
hallowed-hydrogen-55872
05/01/2024, 2:09 AM&prefer_simple_protocol=true&statement_cache_capacity=0