public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <[email protected]>
To: KK CHN <[email protected]>
Cc: [email protected]
Subject: Re: PgBouncer Prepared Statement ERROR
Date: Fri, 18 Jul 2025 09:32:29 -0400
Message-ID: <CAKAnmmKgivSKU8oKwm9ouD8vscqpPf1wjmUNiA719MzvtpB4CA@mail.gmail.com> (raw)
In-Reply-To: <CAKgGyB8PvfvuSMEBLhTCHiJphouKS84-BQSg1iD9dWkzmiXdJQ@mail.gmail.com>
References: <CAKgGyB8PvfvuSMEBLhTCHiJphouKS84-BQSg1iD9dWkzmiXdJQ@mail.gmail.com>

Make sure  max_prepared_statements is set to nonzero in your config. See:

https://www.crunchydata.com/blog/prepared-statements-in-transaction-mode-for-pgbouncer

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PgBouncer Prepared Statement ERROR
  In-Reply-To: <CAKAnmmKgivSKU8oKwm9ouD8vscqpPf1wjmUNiA719MzvtpB4CA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox