Hacker News PostgreSQL· uptownhr·· 5d ago
Peat, a Fork of Neon's Serverless Postgres, Runs on PostgreSQL 18 and 19
Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19
Key Takeaway
Peat is a fork of Neon's open-source serverless Postgres that keeps its storage engine on PostgreSQL 18 and 19 and adds a Kubernetes operator to install and run it.
Why It Matters
For teams needing scale-to-zero, second-level branching and PITR, Peat keeps Neon's storage architecture current with PostgreSQL 18/19, though its alpha status and self-run operator are adoption caveats.
Technical Breakdown · Distilled from the original source
Positioning and motivation
- Peat is a fork of Neon, the open-source serverless Postgres, keeping its storage engine on PostgreSQL 18 and 19 and adding a Kubernetes operator that installs and runs it.
- The author says Neon's open-source repo stopped taking new Postgres releases in 2025; an earlier CloudNativePG + ZFS snapshot + custom gateway setup worked but split every feature into a separate component and was slower.
- Same-machine tests: branch 16 seconds vs under 3 on Neon; restore 20+ seconds vs about 1.
Core capabilities
- Storage separated from compute with scale to zero: an unused database stops (data retained) and the next connection wakes it in seconds.
- Instant branches via copy-on-write; a branch copies no data and costs only what it later changes.
- Point-in-time recovery from any moment in history, seven days by default.
- Read replicas follow a primary, created with one object, asleep until connected.
Control plane and usage
- Declare one Platform object (a bucket and a few machines); the operator installs storage, control plane and the front door. Each database is a Kubernetes object.
- Upgrades are ordered and checked by changing the release in the Platform; a database moves to a newer Postgres version by changing one field.
- Alpha (peat.zabaca.com/v1alpha1), running Zabaca's own production databases; laptop quickstart takes about two minutes with Docker, kind, kubectl, Bun and psql, latest release release-2026-11-28.1.
- Licensing: Neon under Apache License 2.0 with NOTICE unchanged; vendor/ PostgreSQL trees under the PostgreSQL licence; Peat's changes under the same licences; not affiliated with or endorsed by Neon or Databricks.
Source: Hacker News PostgreSQL· github.com
PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.