overlay_branch
gammabranch · Experimental session branches backed by MVCC delta overlays.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102317 | overlay_branch | gammabranch | 0.1 | FEAT | Apache-2.0 | C |
PostgreSQL · 17
Usage
Sources:
overlay_branch 0.1, distributed as Gamma Branch, stores experimental draft changes in MVCC delta overlays.
Core Workflow
Restart after adding the preload, preserving any other preloaded libraries. create_branch creates a draft, use_branch selects it for the session, and apply_branch merges after conflict checks. The example returns to MAIN without applying the draft.
Operational Boundaries
PostgreSQL 17 only; disposable environments only. Without preload, write redirection silently fails and writes reach MAIN. The default supported shape is a plain heap table with one primary-key column. Partitioned/foreign tables, foreign keys and other unsupported constraints are rejected. Concurrent MAIN changes can make apply fail; snapshot mode is time-bounded and can force a session back to MAIN.