From ee9bf6c7d41037ef3196a0cc75365c7675cf70f5 Mon Sep 17 00:00:00 2001 From: Gregory Boch Date: Mon, 2 Nov 2026 19:16:06 +0100 Subject: [PATCH] docs(prisma-postgres): v7 PostgreSQL import guide uses Supabase's direct connection for pg_dump, shared pooler as fallback Co-Authored-By: Claude Opus 5.5 --- .../import-from-existing-database-postgresql.mdx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/docs/content/docs/(index)/v7/prisma-postgres/import-from-existing-database-postgresql.mdx b/apps/docs/content/docs/(index)/v7/prisma-postgres/import-from-existing-database-postgresql.mdx index caafe1b9dd..dc480bfe75 100644 --- a/apps/docs/content/docs/(index)/v7/prisma-postgres/import-from-existing-database-postgresql.mdx +++ b/apps/docs/content/docs/(index)/v7/prisma-postgres/import-from-existing-database-postgresql.mdx @@ -83,12 +83,17 @@ Expand below for provider-specific instructions that help you determine the righ - - Use a database connection URL that uses [Supavisor session mode](https://supabase.com/docs/guides/database/connecting-to-postgres#supavisor-session-mode). - - The connection URL should look similar to this: + - Use the [direct connection](https://supabase.com/docs/guides/database/connecting-to-postgres#direct-connection) URL, which Supabase lists for `pg_dump`. It should look similar to this: + ```text + postgresql://postgres:[YOUR-PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres + ``` + - Direct connections use IPv6 unless the project has the IPv4 add-on. If your network can't reach one, use the [shared pooler in session mode](https://supabase.com/docs/guides/database/connecting-to-postgres#pooler-session-mode) instead: ```text - postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-ca-central-1.pooler.supabase.com:5432/postgres + postgresql://postgres.[PROJECT-REF]:[YOUR-PASSWORD]@[POOLER-HOST]:5432/postgres ``` + Supabase details checked on 2026-11-02. +