From e7c1e1928279ceddea416c98c1aedae788751b53 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 17 Sep 2022 08:42:28 -0500 Subject: [PATCH] Update for pgx v5 --- Automatic-Prepared-Statement-Caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Automatic-Prepared-Statement-Caching.md b/Automatic-Prepared-Statement-Caching.md index 488e857..c7353db 100644 --- a/Automatic-Prepared-Statement-Caching.md +++ b/Automatic-Prepared-Statement-Caching.md @@ -10,4 +10,4 @@ This error can also be triggered by cursors that return different result types. Another incompatibility is with PgBouncer. PgBouncer does not support prepared statements. -In any case, statement caching can be disabled by connecting with `statement_cache_capacity=0`. \ No newline at end of file +In any case, statement caching can be disabled by changing [QueryExecMode](https://pkg.go.dev/github.com/jackc/pgx/v5#QueryExecMode) in the [ConnConfig](https://pkg.go.dev/github.com/jackc/pgx/v5#ConnConfig). \ No newline at end of file