supabase / supavisor

A cloud-native, multi-tenant Postgres connection pooler.
https://supabase.github.io/supavisor/
Apache License 2.0
1.73k stars 55 forks source link

fix: async calls for all ready_for_query messages #318

Closed abc3 closed 7 months ago

abc3 commented 7 months ago

The client handler and the DB handler communicate by sending messages to each other through a blocking handler call method (the first 1000 calls are async). This PR addresses issues that occur when the assigned DB connection sends a blocking ReadyForQuery message with either the transaction block indicator or a failed transaction block.

ReadyForQuery description