Update connecting-to-postgres.mdx | made example region agnostic (#33853)

This commit is contained in:
TheOtherBrian1
2025-02-26 11:31:39 -05:00
committed by GitHub
parent b3df5c6130
commit 55bc04d642

View File

@@ -90,7 +90,7 @@ The session mode connection string connects to your Postgres instance via a prox
The connection string looks like this:
```
postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-ca-central-1.pooler.supabase.com:5432/postgres
postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres
```
Get your project's session mode string from the [Database Settings](/dashboard/project/_/settings/database) page:
@@ -112,7 +112,7 @@ Transaction mode does not support [prepared statements](https://postgresql.org/d
The connection string looks like this:
```
postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-ca-central-1.pooler.supabase.com:6543/postgres
postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:6543/postgres
```
Get your project's transaction mode string from the [Database Settings](/dashboard/project/_/settings/database) page: