Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@
_SUPABASE_DIRECT_HOST_RE = re.compile(r"^db\.[a-z0-9]+\.supabase\.co$", re.IGNORECASE)

_SUPABASE_POOLER_HOST_CAPTION = (
"For standard syncs, use the **Session pooler** host (Project settings → Database → "
"Connection pooling), e.g. `aws-0-<region>.pooler.supabase.com`, with username "
"To get your connection string, click **Connect** in the top bar of your Supabase "
"dashboard, open the **Direct** tab, and pick **Session pooler** or **Direct "
"connection** — the URL is shown at the bottom. For standard syncs use the "
"**Session pooler** host, e.g. `aws-0-<region>.pooler.supabase.com`, with username "
"`postgres.<project-ref>` — the direct host `db.<ref>.supabase.co` is IPv6-only. "
"For **change data capture (CDC)** you must use the direct host instead and enable "
"Supabase's **IPv4 add-on**, because logical replication doesn't work through the pooler."
"For **change data capture (CDC)** you must use **Direct connection** instead and "
"enable Supabase's **IPv4 add-on**, because logical replication doesn't work through "
"the pooler."
)

_SUPABASE_DIRECT_HOST_IPV4_HINT = (
Expand Down
Loading