Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP

ritakozlov · x · 2026-11-29

Developer jaypopat0 deployed a weekend build running real Postgres 19 (pglite) inside a sqlite-backed Cloudflare Durable Object, inspired by southpolesteve's work. Because every CF primitive is http/ws-only, this brings psql, drizzle, branching and raw TCP to the table, with an alchemy v2 provider for per-PR branch databases and an agent skill included — pitched as perfect throwaway Postgres for agents. Live demo: psql 'postgres://[email protected]/mydb'.

Original post →

More from coding & agent

coding & agent channel →