Connection pool poisoning in Go's database/sql can escalate from row-level lock contention to complete database outages when combined with misconfigured PgBouncer deployments. When transactions opened via raw SQL aren't properly cleaned up, they poison the connection pool by holding row locks indefinitely. Without PgBouncer

Sort: