Skip to content

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

Fix the integer input fields to support nullable values.

Ivan Vasilov2a0d7b5ad433
diff --git a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
index 1c6add21323..3819718cd0f 100644
--- a/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
+++ b/studio/components/interfaces/Settings/Database/ConnectionPooling.tsx
@@ -178,14 +178,14 @@ export const PgbouncerConfig: FC<ConfigProps> = ({ projectRef, bouncerInfo, conn
},
max_client_conn: {
title: 'Max Client Connections',
- type: 'integer',
+ oneOf: [{ type: 'integer' }, { type: 'null' }],
help: 'The maximum number of concurrent client connections allowed. Overrides default optimizations; refer to https://supabase.com/docs/guides/platform/custom-postgres-config#pooler-config',
},
default_pool_size: {
title: 'Default Pool Size',
- type: 'integer',
+ oneOf: [{ type: 'integer' }, { type: 'null' }],
help: 'The maximum number of connections made to the underlying Postgres cluster, per user+db combination. Overrides default optimizations; refer to https://supabase.com/docs/guides/platform/custom-postgres-config#pooler-config',
- }
+ },
},
required: ['pool_mode'],
type: 'object',