pg_incremental
pg_incremental : Incremental Processing by Crunchy Data
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 2850 | pg_incremental | pg_incremental | 1.6 |
FEAT | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | pg_catalog |
| See Also | pg_ivm pg_trickle timescaledb pg_duckdb pg_partman pg_ttl_index duckdb_fdw pg_lake |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.6 |
18 17 16 15 14 | pg_incremental |
- |
| RPM | PIGSTY | 1.6.1 |
18 17 16 15 14 | pg_incremental_$v |
- |
| DEB | PIGSTY | 1.6.1 |
18 17 16 15 14 | postgresql-$v-pg-incremental |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| el8.aarch64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| el9.x86_64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| el9.aarch64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| el10.x86_64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| el10.aarch64 | PGDG 1.6.1 | PGDG 1.6.1 | PGDG 1.6.1 | N/A | N/A |
| d12.x86_64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| d12.aarch64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| d13.x86_64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| d13.aarch64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u22.x86_64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u22.aarch64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u24.x86_64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u24.aarch64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u26.x86_64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
| u26.aarch64 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | PIGSTY 1.6.1 | N/A | N/A |
Source
github.com/CrunchyData/pg_incremental
pg_incremental-1.6.1.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
Sources:
pg_incremental defines exactly-once incremental pipelines for append-only tables and file feeds. It depends on pg_cron and supports sequence, time-interval and file-list pipelines on PostgreSQL 17–18 in the reviewed upstream test matrix.
Install and schedule
Pipelines execute immediately by default and then run from pg_cron; set execute_immediately := false when the initial run should be deferred. The progress update and the pipeline command commit together, so a failed command does not advance the processed range.
Pipeline types
Sequence pipelines pass a safe $1/$2 range; time pipelines pass interval boundaries; file-list pipelines pass a newly discovered file. max_batch_size, max_batches_per_run and batched := false tune workload shape. incremental.execute_pipeline, reset_pipeline, drop_pipeline and the pipeline status views provide operational control.
Security fixes in 1.6.1
Release 1.6.1 fixes a _drop_trigger search_path injection issue, requires SELECT or USAGE on a sequence when a sequence pipeline is created and run, and executes file-list functions as the caller. Review ownership and grants before upgrading; existing package facts are separate from this upstream release.