Peat - Fork of Neon's serverless Postgres on PostgreSQL 19

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

Peat - Fork of Neon's serverless Postgres on PostgreSQL 19

Peat is a fork of Neon's open-source serverless Postgres, kept current with the latest PostgreSQL releases (18 and 19) and packaged with a Kubernetes operator for easy deployment. It solves the problem of falling behind upstream Postgres versions while preserving Neon's serverless architecture, branching, and autoscaling. Ideal for teams wanting modern Postgres features with cloud-native operations, Peat offers a self-hostable alternative without vendor lock-in. The project includes adapted CI/CD workflows for GitHub-hosted runners and is Apache-2.0 licensed. Not affiliated with Neon or Databricks, it's a community-driven effort to keep serverless Postgres on the cutting edge.

Peat keeps Neon's serverless Postgres on the latest PostgreSQL (19), so you get modern database features without waiting for upstream.
  1. peter_d_sherman

    >"What it is

    Serverless Postgres, with storage separated from compute"

    (Which is a very good idea, btw!)

    Observation: All future databases should be written like this, that is, with a clear separation of whatever block (aka storage "bucket") based engine actually loads and stores the data on the back-end (sub-observation: this observation is relevant to future OS'es as well!) from the data structures and code and processing that goes on in the compute (aka CPU, aka running code) component in the main engine.

    Code should always be written such that the block storage back-end (whether its local in the form of local hard disk space or whether its remote, in the form of Internet accessible block-based storage) is either #ifdef'd around (or the programming language's equivalent of #ifdef, i.e., "conditional compilation", "conditionally compiled", for example, in Rust it's '#[cfg(...)]', in Go it's '//go:build ...', in Zig it's 'if (@import("builtin")....)' or 'comptime', in Delphi/Pascal/FreePascal it's '{$IFDEF}..{$ENDIF}', etc., etc.

    (Most languages have some form of #ifdef, or their own version, for conditional compilation: https://en.wikipedia.org/wiki/Conditional_compilation)

    Or, optionally, the code could use plug-ins. Plug-ins for each of the separate database back ends supported.

    If a database is to run on a local disk, then with conditional compilation you retain the ability to have a single fast local database executable that "does it all" and you have the ability to "c […]

  2. uptownhr

    I wanted branches, restore to any moment and scale to zero for my own Postgres on Kubernetes. I first built it on standard Postgres: CloudNativePG, ZFS snapshots for branches and a gateway I wrote for sleep and wake. It mostly worked, but every feature was a separate part to run and watch, and it was slower: a branch took 16 seconds against under 3 on Neon.

    Neon gets all of it from one storage layer, and I found nothing else open source that does. But its open repo stopped at Postgres 17.5. So I forked it, brought it to 18.7 and 19, and added a Kubernetes operator. It runs my production databases now. Alpha, not affiliated with Neon.

    Try it in about two minutes:

    git clone --depth 1 --branch release-2026-11-28.1 https://github.com/Zabaca/peat

    peat/control/examples/try-it.sh

  3. fwip

    If this project is worth anything to you, it would probably be worth it to write the readme in your own words.

More from this day

2026-11-29