alohadb_temporal
alohadb · AlohaDB system-versioned tables and historical-row queries
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102209 | alohadb_temporal | alohadb | 1.0 | TIME | MIT | C |
PostgreSQL · 18
Usage
Sources:
- contrib/alohadb_temporal/alohadb_temporal–1.0.sql
- contrib/alohadb_temporal/alohadb_temporal.c
- README.md
- contrib/alohadb_temporal/alohadb_temporal.control
alohadb_temporal is AlohaDB’s system-versioning module. It attaches a history table and row trigger to a base table so updates and deletes retain previous row versions.
Core Workflow
Operational Boundaries
This is a module of the PostgreSQL-18-based AlohaDB fork; standard PostgreSQL compatibility has not been verified. Administrator installation is required for its native functions. alohadb_enable_system_versioning changes the base table and adds temporal columns, history storage and a trigger, so use a table the caller can alter. alohadb_temporal_status lists registrations. alohadb_as_of and alohadb_versions_between return records whose column types the caller must declare. History grows with writes and needs retention planning. Review the implementation before alohadb_disable_system_versioning: it removes versioning infrastructure and temporal columns. This source prototype does not establish an application-wide audit or tamper-resistance guarantee.