From f07ad22f148d269805f7e9474417f118c04f7bd8 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 23 Jul 2022 07:04:32 -0500 Subject: [PATCH] Update PgBouncer docs --- doc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index debaedb3..1edef5cc 100644 --- a/doc.go +++ b/doc.go @@ -322,7 +322,7 @@ used to access this lower layer. PgBouncer -pgx is compatible with PgBouncer in two modes. One is when the connection has a statement cache in "describe" mode. The -other is when the connection is using the simple protocol. This can be set with the PreferSimpleProtocol config option. +By default pgx automatically uses prepared statements. Prepared statements are incompaptible with PgBouncer. This can be +disabled by setting a different QueryExecMode in ConnConfig.DefaultQueryExecMode. */ package pgx