temporal_ops
temporal_ops · Temporal semijoin, antijoin and outer-join operators
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102207 | temporal_ops | temporal_ops | 1.0.0 | TIME | C |
| Relationships | |
|---|---|
| Requires | plpgsql |
Usage
Sources:
temporal_ops provides range-aware joins: a semijoin keeps the covered portions of a left row, an antijoin keeps uncovered portions, and an outer join also represents unmatched time. It combines C query generation with SQL-callable wrappers.
Core Workflow
Operational Boundaries
This source uses the PostgreSQL 19 SupportRequestInlineInFrom planner API; older-major compatibility is not claimed. Installation needs administrator privileges for C and leakproof functions. temporal_semijoin, temporal_antijoin and temporal_outer_join accept relation names as regclass, matching key columns, and range-column names. Array overloads support composite keys. Returned records need an explicit caller-supplied row definition. The _sql variants expose generated SQL. Relations must exist and the caller must be allowed to read them. Union, difference and aggregation are listed as future work, not implemented operators. No project license declaration was found.