最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

postgresql - Why is max_prepared_statements = 1 allowing multiple prepared statements in PgBouncer? - Stack Overflow

programmeradmin0浏览0评论

I set max_prepared_statements = 1 in PgBouncer and attempted to create multiple prepared statements within a single transaction.

Expected Behavior:

PgBouncer should either prevent more than one prepared statement from being created, OR It should immediately delete the prepared statement after committing the transaction.

Actual Behavior:

PgBouncer allowed multiple prepared statements to be created and executed, even with max_prepared_statements set to 1.

Has anyone else encountered this issue? Is this the expected behavior, or am I missing a configuration setting?

PGBouncer: 1.21v PostgreSQL: 14.3v Pool mode: Transaction

发布评论

评论列表(0)

  1. 暂无评论