pgwm
pgwm · Experimental logical workspaces for versioned relational table data
Overview
PostgreSQL · 17
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
pgwm 0.1.0 is an experimental SQL workspace manager for PostgreSQL table data. The upstream test environment uses PostgreSQL 17. Use disposable evaluation data: the project explicitly excludes production use and tenant isolation.
Core workflow
Versioning and maintenance
pgwm.enable_versioning requires a primary key, renames the physical table with an _lt suffix and exposes a typed view under the original name. Workspace writes become history rows. pgwm.refresh_workspace, pgwm.conflicts and pgwm.merge_workspace support parent/child review and merging; inspect conflicts before merging.
Workspace selection is session-local. Reset pooled connections to LIVE, and do not expose the underlying history tables as an isolation boundary. Key changes, destructive schema changes, user-trigger replay and several cleanup operations have limitations. Installation requires a superuser and plpgsql; no native library or shared preload is needed. Upstream does not declare a license.