Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Temp check supavisor_enabled from connectionString

Joshen Lim9a759d1071cf
diff --git a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
index 64482db4edc..a3e1317f30e 100644
--- a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
+++ b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
@@ -89,7 +89,13 @@ const ConnectionPooling = () => {
) : (
<PgbouncerConfig
projectRef={projectRef}
- bouncerInfo={bouncerInfo}
+ // [Joshen TODO] remove this check once API PR has been deployed:
+ // https://github.com/supabase/infrastructure/pull/14173
+ bouncerInfo={{
+ ...bouncerInfo,
+ supavisor_enabled:
+ poolingConfiguration.connectionString.includes('pooler.supabase.com'),
+ }}
connectionInfo={connectionInfo}
/>
)}