pg_tsfunc
alohadb · AlohaDB: Time-series resampling, downsampling and value codecs
Overview
PostgreSQL · 18
Usage
Sources:
pg_tsfunc 1.0 provides time-series resampling, downsampling and value codecs. 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
ts_lttb and ts_minmax downsample; ts_resample aligns observations; ts_asof and ts_asof_join perform time-based lookups. Timestamp/float codecs store a series in bytea rather than providing a table access method. Verify ordering, duplicate handling and max-gap choices for scientific calculations. Array and aggregate operations still consume backend memory; compression ratios depend on data.
This module corresponds to the former upstream name alohadb_tsfunc. 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.