pg_unified
alohadb · AlohaDB: Buffered events and batch rows through one view
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102405 | pg_unified | alohadb | 1.1 | ETL | MIT | SQL |
PostgreSQL · 18
Usage
Sources:
pg_unified 1.1 provides buffered events and batch rows through one view. This preview module is scoped to the PostgreSQL 18 fork in AlohaDB 21.1.0; stock PostgreSQL compatibility is not established.
Workflow
Installation requires a superuser; function use also requires the appropriate object privileges.
Operational boundaries
The registered view combines batch rows with unflushed events. unified_flush moves queued rows, unified_purge removes eligible history and unified_stream_events exposes the buffer. Schedule flushing explicitly and keep event JSON compatible with the batch table. Inspect privileges on the generated view and underlying tables; this is a database-local buffer, not a distributed streaming broker.
This module corresponds to the former upstream name alohadb_unified. Follow AlohaDB’s cluster/object conversion procedure and do not substitute an unrelated implementation with a similar name. Rehearse dependencies, privileges and backup restoration before upgrades.