supabase / supavisor

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

feat: implement proxy handler #401

Closed abc3 closed 1 month ago

abc3 commented 1 month ago

The current PR introduces a new handler that will replace session mode. It authenticates incoming connections via auth queries, establishes a TCP connection to the tenant's database, and then simply forwards data between the client and the database, functioning primarily as a proxy

abc3 commented 1 month ago

nested or long functions can be simplified before merging v2 into main, once the handler for transaction mode is ready