From 673317ed6ebf4987482ac8f18c4f3557593b5117 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 28 Apr 2026 13:33:09 -0500 Subject: [PATCH] Clarify hosted database pooling docs Co-Authored-By: Paperclip --- doc/DATABASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/DATABASE.md b/doc/DATABASE.md index 15fa4a0afa0..ab6db4b75cc 100644 --- a/doc/DATABASE.md +++ b/doc/DATABASE.md @@ -113,7 +113,7 @@ DATABASE_URL=postgres://postgres.[PROJECT-REF]:[PASSWORD]@aws-0-[REGION].pooler. DATABASE_MIGRATION_URL=postgres://postgres.[PROJECT-REF]:[PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres ``` -Do not patch `packages/db/src/client.ts` as a setup step. Add a configuration/env switch for postgres-js prepared statements before documenting pooled Supavisor as the supported runtime path. +If your hosted database requires transaction-pooling-only connections, use a direct or session-pooled connection for Paperclip until runtime pooling support is documented in this guide. Do not edit database client source files as part of deployment setup. ### Push the schema