Skip to content

Commit 6b51105

Browse files
committed
Reformat pg support docs.
1 parent 35a4ab6 commit 6b51105

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

contents/docs/connecting-to-postgres.mdx

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ Here are some common Postgres options and what we know about their support level
88

99
| Postgres | Support Status |
1010
| --------------------------------- | ------------------------------------------------------------------------------------------------------------- |
11-
| AWS RDS ||
12-
| AWS Aurora | ✅ v15.6+ |
13-
| Google Cloud SQL | ✅ See [notes below](#google-cloud-sql) |
14-
| [Fly.io](http://Fly.io) Postgres | ✅ See [notes below](#flyio) | |
15-
| Postgres.app ||
16-
| postgres:16.2-alpine docker image ||
17-
| Supabase | ✅ See [notes below](#supabase) |
18-
| Neon, Render, Heroku | 🤷‍♂️ Partial support with `autoreset`. See [Schema Changes](#schema-changes) and provider-specific notes below. |
19-
20-
## Schema Changes
11+
| AWS RDS ||
12+
| AWS Aurora |  v15.6+ |
13+
| Google Cloud SQL |  See [notes below](#google-cloud-sql) |
14+
| [Fly.io](http://Fly.io) Postgres |  See [notes below](#flyio) |
15+
| Neon |  See [notes below](#neon) |
16+
| Postgres.app ||
17+
| postgres:16.2-alpine docker image ||
18+
| Supabase |  See [notes below](#supabase) |
19+
| Render | 🤷‍♂️  No [event triggers](#event-triggers) |
20+
| Heroku | 🤷‍♂️  No [event triggers](#event-triggers) |
21+
22+
## Event Triggers
2123

2224
Zero uses Postgres “[Event Triggers](https://www.postgresql.org/docs/current/sql-createeventtrigger.html)” when possible to implement high-quality, efficient [schema migration](zero-schema/#migrations).
2325

@@ -92,3 +94,15 @@ support IPv6, but some do not. For example, if you are running `zero-cache` in A
9294
difficult.
9395

9496
IPv4 addresses are only supported on the Pro plan and are an extra $4/month.
97+
98+
## Neon
99+
100+
Neon fully supports Zero, but you should be aware of how Neon's pricing model and Zero interact.
101+
102+
Because Zero keeps an open connection to Postgres to replicate changes, as long as zero-cache is running, Postgres will be running and you will be charged by Neon.
103+
104+
For production databases that have enough usage to always be running anyway, this is fine. But for smaller applications that would otherwise not always be running, this can create a surprisingly high bill. You may want to choose a provider that charge a flat monthly rate instead.
105+
106+
Also some users choose Neon because they hope to use branching for previews. Note that Zero doesn't support this usage model well yet, and if not done with care, Zero can end up keeping each Neon *preview* branch running too 😳.
107+
108+
We are actively working on better preview support.

0 commit comments

Comments
 (0)