BitsInfra released Gnomon, a PostgreSQL extension that adds Git-style branches, history, three-way merges and undo directly inside the existing database, with branches storing only their own changes and copying nothing. Aimed at agent workflows, it lets an agent get an isolated branch of the real database via a connection string, then diff every changed field, merge back to main, or undo the merge.
Termsslug: database-branching
Database Branching
数据库分支
Version-control mechanism deriving an isolated copy from main that records only its own changes without copying data.
Curated Intelligence
Hacker News AIT2·Tools
74 pts
Hacker News AIT2·Tools
62 pts
The open-source db-branch project uses ZFS copy-on-write clones to spin up zero-copy MySQL and PostgreSQL database branches in seconds, enabling migration testing, sandboxed AI agent runs, and per-PR database copies without duplicating data. It is Apache-2.0 licensed, self-hosted, and currently in Beta, with APIs and CLI details still subject to change before 1.0.