pg_change_point_detection
A Postgres extension to detect change points in time series data
pg_change_point_detection · A Postgres extension to detect change points in time series data
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101524 | pg_change_point_detection | pg_change_point_detection | 1.0 | TIME | Unknown | C |
Usage
Sources:
- Official upstream README
- Official extension control file (pg_change_point_detection.control)
- Official extension SQL (pg_change_point_detection–1.0.sql)
pg_change_point_detection — pg_changepoint is a PostgreSQL extension for detecting change points in the table data. It is a port of Andrey Akinshin’s implementation of the ED-PELT algorithm. Use it for the corresponding scheduling, temporal, or time-series workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
pg_change_point_detection(data double precision[])is an extension function and returnsinteger[].pg_change_point_detection_in_column(table_name text, column_name text, order_column text DEFAULT NULL)is an extension function and returnsinteger[].
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.