And that to make pgx works with pgbouncer, some ad...
# spicedb
p
And that to make pgx works with pgbouncer, some additional connConfig as to be made, like: func TestPgbouncerStatementCacheDescribe(t *testing.T) { connString := os.Getenv("PGX_TEST_PGBOUNCER_CONN_STRING") if connString == "" { t.Skipf("Skipping due to missing environment variable %v", "PGX_TEST_PGBOUNCER_CONN_STRING") } config := mustParseConfig(t, connString) config.DefaultQueryExecMode = pgx.QueryExecModeCacheDescribe // This seems to be important config.DescriptionCacheCapacity = 1024 testPgbouncer(t, config, 10, 100) }
2 Views