object-tree
object-tree · Commit and reference history for content-addressed database object trees.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102167 | object-tree | object-tree | 0.47.0 | FEAT | MIT | PLpgSQL |
| Relationships | |
|---|---|
| Requires | plpgsql pgcrypto object-store pgpm-verify |
Usage
Sources:
- packages/object-tree/README.md
- packages/object-tree/sql/object-tree–0.47.0.sql
- packages/object-tree/Makefile
- packages/object-tree/object-tree.control
object-tree layers stores, commits and named references over the PGPM object store. object_tree_public.init_empty_repo initializes a store, object_tree_public.rev_parse resolves a reference, and commit helpers update a tree and its history together.
Core Workflow
Operational Boundaries
object_tree_public.set_many_and_commit batches path edits; object_tree_public.set_props_and_commit updates node data while preserving children. The installation creates persistent commit/reference/store tables and assumes the application role layout plus a callable uuidv7() for UUID defaults. Store and scope IDs must belong to the provisioned application. History consumes database storage and is not automatically garbage-collected by these functions. This is object versioning rather than automatic version control of arbitrary SQL tables. Dependencies are plpgsql, pgcrypto, object-store, pgpm-verify. The installation SQL grants privileges to the pre-existing roles authenticated. This SQL-only module needs no library preload or restart; no PostgreSQL-major support matrix is published for this revision. Its fixed schema layout is not relocatable. Install the matching dependency closure before enabling it.