pg_incremental
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_incremental | 1.6 | FEAT | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2850 | pg_incremental | No | Yes | No | Yes | No | No | pg_catalog |
Package 1.6.1; SQL/control 1.6. Fixes _drop_trigger search_path injection. Sequence pipelines require SELECT or USAGE at creation and execution; file-list functions run as the pipeline executor. pg_cron is optional except for scheduled pipelines.
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.6 | 1817161514 | pg_incremental | - |
| RPM | PIGSTY | 1.6.1 | 1817161514 | pg_incremental_$v | - |
| DEB | PIGSTY | 1.6.1 | 1817161514 | postgresql-$v-pg-incremental | - |
| OS / 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 | N/A | N/A | |||
| el9.aarch64 | N/A | N/A | |||
| el10.x86_64 | N/A | N/A | |||
| el10.aarch64 | N/A | N/A | |||
| d12.x86_64 | PIGSTY 1.6.1 d12.x86_64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~bookworm_amd64.deb
| PIGSTY 1.6.1 d12.x86_64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~bookworm_amd64.deb
| PIGSTY 1.6.1 d12.x86_64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~bookworm_amd64.deb
| N/A | N/A |
| d12.aarch64 | PIGSTY 1.6.1 d12.aarch64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~bookworm_arm64.deb
| PIGSTY 1.6.1 d12.aarch64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~bookworm_arm64.deb
| PIGSTY 1.6.1 d12.aarch64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~bookworm_arm64.deb
| N/A | N/A |
| d13.x86_64 | PIGSTY 1.6.1 d13.x86_64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~trixie_amd64.deb
| PIGSTY 1.6.1 d13.x86_64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~trixie_amd64.deb
| PIGSTY 1.6.1 d13.x86_64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~trixie_amd64.deb
| N/A | N/A |
| d13.aarch64 | PIGSTY 1.6.1 d13.aarch64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~trixie_arm64.deb
| PIGSTY 1.6.1 d13.aarch64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~trixie_arm64.deb
| PIGSTY 1.6.1 d13.aarch64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~trixie_arm64.deb
| N/A | N/A |
| u22.x86_64 | PIGSTY 1.6.1 u22.x86_64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~jammy_amd64.deb
| PIGSTY 1.6.1 u22.x86_64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~jammy_amd64.deb
| PIGSTY 1.6.1 u22.x86_64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~jammy_amd64.deb
| N/A | N/A |
| u22.aarch64 | PIGSTY 1.6.1 u22.aarch64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~jammy_arm64.deb
| PIGSTY 1.6.1 u22.aarch64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~jammy_arm64.deb
| PIGSTY 1.6.1 u22.aarch64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~jammy_arm64.deb
| N/A | N/A |
| u24.x86_64 | PIGSTY 1.6.1 u24.x86_64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~noble_amd64.deb
| PIGSTY 1.6.1 u24.x86_64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~noble_amd64.deb
| PIGSTY 1.6.1 u24.x86_64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~noble_amd64.deb
| N/A | N/A |
| u24.aarch64 | PIGSTY 1.6.1 u24.aarch64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~noble_arm64.deb
| PIGSTY 1.6.1 u24.aarch64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~noble_arm64.deb
| PIGSTY 1.6.1 u24.aarch64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~noble_arm64.deb
| N/A | N/A |
| u26.x86_64 | PIGSTY 1.6.1 u26.x86_64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~resolute_amd64.deb
| PIGSTY 1.6.1 u26.x86_64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~resolute_amd64.deb
| PIGSTY 1.6.1 u26.x86_64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~resolute_amd64.deb
| N/A | N/A |
| u26.aarch64 | PIGSTY 1.6.1 u26.aarch64.pg18 : postgresql-18-pg-incremental postgresql-18-pg-incremental_1.6.1-1PGSTY~resolute_arm64.deb
| PIGSTY 1.6.1 u26.aarch64.pg17 : postgresql-17-pg-incremental postgresql-17-pg-incremental_1.6.1-1PGSTY~resolute_arm64.deb
| PIGSTY 1.6.1 u26.aarch64.pg16 : postgresql-16-pg-incremental postgresql-16-pg-incremental_1.6.1-1PGSTY~resolute_arm64.deb
| N/A | N/A |
Build
You can build the RPM / DEB packages for pg_incremental using pig build:
Install
You can install pg_incremental directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
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.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)