跳转到主要内容

plan_filter

filter statements by their execution plans.

pg_plan_filter : filter statements by their execution plans.

Overview

ID Extension Package Version Category License Language
2810 plan_filter pg_plan_filter 1.0.0 FEAT PostgreSQL C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--sL--- No Yes Yes No no no
Maintained RPM/DEB recipes and versioned source are 1.0.0; local package matrix on 2026-10-10 has RPM 1.0.0 and DEB 0.0.1. Retain maintained DEB 1.0.0; repository publication is a separate check.

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PIGSTY 1.0.0 18 17 16 15 14 pg_plan_filter -
RPM PIGSTY 1.0.0 18 17 16 15 14 pg_plan_filter_$v -
DEB PIGSTY 1.0.0 18 17 16 15 14 postgresql-$v-pg-plan-filter -
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
el8.aarch64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
el9.x86_64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
el9.aarch64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
el10.x86_64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
el10.aarch64 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0 PGDG 1.0.0
d12.x86_64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
d12.aarch64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
d13.x86_64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
d13.aarch64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u22.x86_64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u22.aarch64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u24.x86_64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u24.aarch64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u26.x86_64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
u26.aarch64 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1 PIGSTY 0.0.1
Package Version OS ORG SIZE File URL
pg_plan_filter_18 1.0.0 el8.x86_64 pgdg 16.4 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_18 0.0.1 el8.x86_64 pigsty 10.8 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el8.x86_64.rpm
pg_plan_filter_18 1.0.0 el8.aarch64 pgdg 16.2 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_18 0.0.1 el8.aarch64 pigsty 11.0 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el8.aarch64.rpm
pg_plan_filter_18 1.0.0 el9.x86_64 pgdg 16.1 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_18 0.0.1 el9.x86_64 pigsty 10.5 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el9.x86_64.rpm
pg_plan_filter_18 1.0.0 el9.aarch64 pgdg 15.9 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_18 0.0.1 el9.aarch64 pigsty 10.5 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el9.aarch64.rpm
pg_plan_filter_18 1.0.0 el10.x86_64 pgdg 16.2 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_18 0.0.1 el10.x86_64 pigsty 10.4 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el10.x86_64.rpm
pg_plan_filter_18 1.0.0 el10.aarch64 pgdg 16.2 KiB pg_plan_filter_18-1.0.0-1PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_18 0.0.1 el10.aarch64 pigsty 10.6 KiB pg_plan_filter_18-0.0.1-1PIGSTY.el10.aarch64.rpm
postgresql-18-pg-plan-filter 0.0.1 d12.x86_64 pigsty 9.9 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~bookworm_amd64.deb
postgresql-18-pg-plan-filter 0.0.1 d12.aarch64 pigsty 10.1 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~bookworm_arm64.deb
postgresql-18-pg-plan-filter 0.0.1 d13.x86_64 pigsty 9.9 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~trixie_amd64.deb
postgresql-18-pg-plan-filter 0.0.1 d13.aarch64 pigsty 10.1 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~trixie_arm64.deb
postgresql-18-pg-plan-filter 0.0.1 u22.x86_64 pigsty 10.1 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~jammy_amd64.deb
postgresql-18-pg-plan-filter 0.0.1 u22.aarch64 pigsty 10.1 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~jammy_arm64.deb
postgresql-18-pg-plan-filter 0.0.1 u24.x86_64 pigsty 10.1 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~noble_amd64.deb
postgresql-18-pg-plan-filter 0.0.1 u24.aarch64 pigsty 10.2 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~noble_arm64.deb
postgresql-18-pg-plan-filter 0.0.1 u26.x86_64 pigsty 8.8 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~resolute_amd64.deb
postgresql-18-pg-plan-filter 0.0.1 u26.aarch64 pigsty 8.9 KiB postgresql-18-pg-plan-filter_0.0.1-1PIGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_plan_filter_17 1.0.0 el8.x86_64 pgdg 16.4 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_17 0.0.1 el8.x86_64 pigsty 10.8 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el8.x86_64.rpm
pg_plan_filter_17 1.0.0 el8.aarch64 pgdg 16.2 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_17 0.0.1 el8.aarch64 pigsty 11.0 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el8.aarch64.rpm
pg_plan_filter_17 1.0.0 el9.x86_64 pgdg 16.1 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_17 0.0.1 el9.x86_64 pigsty 10.5 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el9.x86_64.rpm
pg_plan_filter_17 1.0.0 el9.aarch64 pgdg 15.9 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_17 0.0.1 el9.aarch64 pigsty 10.5 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el9.aarch64.rpm
pg_plan_filter_17 1.0.0 el10.x86_64 pgdg 16.2 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_17 0.0.1 el10.x86_64 pigsty 10.5 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el10.x86_64.rpm
pg_plan_filter_17 1.0.0 el10.aarch64 pgdg 16.2 KiB pg_plan_filter_17-1.0.0-1PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_17 0.0.1 el10.aarch64 pigsty 10.7 KiB pg_plan_filter_17-0.0.1-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg-plan-filter 0.0.1 d12.x86_64 pigsty 9.9 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg-plan-filter 0.0.1 d12.aarch64 pigsty 10.1 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg-plan-filter 0.0.1 d13.x86_64 pigsty 9.9 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~trixie_amd64.deb
postgresql-17-pg-plan-filter 0.0.1 d13.aarch64 pigsty 10.1 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~trixie_arm64.deb
postgresql-17-pg-plan-filter 0.0.1 u22.x86_64 pigsty 10.6 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~jammy_amd64.deb
postgresql-17-pg-plan-filter 0.0.1 u22.aarch64 pigsty 10.6 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~jammy_arm64.deb
postgresql-17-pg-plan-filter 0.0.1 u24.x86_64 pigsty 10.2 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~noble_amd64.deb
postgresql-17-pg-plan-filter 0.0.1 u24.aarch64 pigsty 10.3 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~noble_arm64.deb
postgresql-17-pg-plan-filter 0.0.1 u26.x86_64 pigsty 8.8 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~resolute_amd64.deb
postgresql-17-pg-plan-filter 0.0.1 u26.aarch64 pigsty 8.9 KiB postgresql-17-pg-plan-filter_0.0.1-1PIGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_plan_filter_16 1.0.0 el8.x86_64 pgdg 16.4 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_16 0.0.1 el8.x86_64 pigsty 10.8 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el8.x86_64.rpm
pg_plan_filter_16 1.0.0 el8.aarch64 pgdg 16.2 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_16 0.0.1 el8.aarch64 pigsty 11.0 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el8.aarch64.rpm
pg_plan_filter_16 1.0.0 el9.x86_64 pgdg 16.1 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_16 0.0.1 el9.x86_64 pigsty 10.5 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el9.x86_64.rpm
pg_plan_filter_16 1.0.0 el9.aarch64 pgdg 15.9 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_16 0.0.1 el9.aarch64 pigsty 10.5 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el9.aarch64.rpm
pg_plan_filter_16 1.0.0 el10.x86_64 pgdg 16.2 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_16 0.0.1 el10.x86_64 pigsty 10.5 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el10.x86_64.rpm
pg_plan_filter_16 1.0.0 el10.aarch64 pgdg 16.2 KiB pg_plan_filter_16-1.0.0-1PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_16 0.0.1 el10.aarch64 pigsty 10.7 KiB pg_plan_filter_16-0.0.1-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg-plan-filter 0.0.1 d12.x86_64 pigsty 9.9 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg-plan-filter 0.0.1 d12.aarch64 pigsty 10.0 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg-plan-filter 0.0.1 d13.x86_64 pigsty 9.9 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~trixie_amd64.deb
postgresql-16-pg-plan-filter 0.0.1 d13.aarch64 pigsty 10.1 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~trixie_arm64.deb
postgresql-16-pg-plan-filter 0.0.1 u22.x86_64 pigsty 10.6 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~jammy_amd64.deb
postgresql-16-pg-plan-filter 0.0.1 u22.aarch64 pigsty 10.6 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~jammy_arm64.deb
postgresql-16-pg-plan-filter 0.0.1 u24.x86_64 pigsty 10.2 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~noble_amd64.deb
postgresql-16-pg-plan-filter 0.0.1 u24.aarch64 pigsty 10.3 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~noble_arm64.deb
postgresql-16-pg-plan-filter 0.0.1 u26.x86_64 pigsty 8.8 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~resolute_amd64.deb
postgresql-16-pg-plan-filter 0.0.1 u26.aarch64 pigsty 8.9 KiB postgresql-16-pg-plan-filter_0.0.1-1PIGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_plan_filter_15 1.0.0 el8.x86_64 pgdg 16.4 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_15 0.0.1 el8.x86_64 pigsty 10.8 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el8.x86_64.rpm
pg_plan_filter_15 1.0.0 el8.aarch64 pgdg 16.2 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_15 0.0.1 el8.aarch64 pigsty 11.0 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el8.aarch64.rpm
pg_plan_filter_15 1.0.0 el9.x86_64 pgdg 16.1 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_15 0.0.1 el9.x86_64 pigsty 10.5 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el9.x86_64.rpm
pg_plan_filter_15 1.0.0 el9.aarch64 pgdg 15.9 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_15 0.0.1 el9.aarch64 pigsty 10.5 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el9.aarch64.rpm
pg_plan_filter_15 1.0.0 el10.x86_64 pgdg 16.2 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_15 0.0.1 el10.x86_64 pigsty 10.5 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el10.x86_64.rpm
pg_plan_filter_15 1.0.0 el10.aarch64 pgdg 16.2 KiB pg_plan_filter_15-1.0.0-1PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_15 0.0.1 el10.aarch64 pigsty 10.7 KiB pg_plan_filter_15-0.0.1-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg-plan-filter 0.0.1 d12.x86_64 pigsty 9.9 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg-plan-filter 0.0.1 d12.aarch64 pigsty 10.1 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg-plan-filter 0.0.1 d13.x86_64 pigsty 9.9 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~trixie_amd64.deb
postgresql-15-pg-plan-filter 0.0.1 d13.aarch64 pigsty 10.1 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~trixie_arm64.deb
postgresql-15-pg-plan-filter 0.0.1 u22.x86_64 pigsty 10.5 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~jammy_amd64.deb
postgresql-15-pg-plan-filter 0.0.1 u22.aarch64 pigsty 10.6 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~jammy_arm64.deb
postgresql-15-pg-plan-filter 0.0.1 u24.x86_64 pigsty 10.2 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~noble_amd64.deb
postgresql-15-pg-plan-filter 0.0.1 u24.aarch64 pigsty 10.3 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~noble_arm64.deb
postgresql-15-pg-plan-filter 0.0.1 u26.x86_64 pigsty 8.8 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~resolute_amd64.deb
postgresql-15-pg-plan-filter 0.0.1 u26.aarch64 pigsty 8.9 KiB postgresql-15-pg-plan-filter_0.0.1-1PIGSTY~resolute_arm64.deb
Package Version OS ORG SIZE File URL
pg_plan_filter_14 1.0.0 el8.x86_64 pgdg 16.3 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_14 0.0.1 el8.x86_64 pigsty 10.8 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el8.x86_64.rpm
pg_plan_filter_14 1.0.0 el8.aarch64 pgdg 16.2 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_14 0.0.1 el8.aarch64 pigsty 11.0 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el8.aarch64.rpm
pg_plan_filter_14 1.0.0 el9.x86_64 pgdg 16.1 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_14 0.0.1 el9.x86_64 pigsty 10.5 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el9.x86_64.rpm
pg_plan_filter_14 1.0.0 el9.aarch64 pgdg 15.9 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_14 0.0.1 el9.aarch64 pigsty 10.5 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el9.aarch64.rpm
pg_plan_filter_14 1.0.0 el10.x86_64 pgdg 16.2 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_14 0.0.1 el10.x86_64 pigsty 10.5 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el10.x86_64.rpm
pg_plan_filter_14 1.0.0 el10.aarch64 pgdg 16.2 KiB pg_plan_filter_14-1.0.0-1PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_14 0.0.1 el10.aarch64 pigsty 10.7 KiB pg_plan_filter_14-0.0.1-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg-plan-filter 0.0.1 d12.x86_64 pigsty 9.9 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg-plan-filter 0.0.1 d12.aarch64 pigsty 10.0 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg-plan-filter 0.0.1 d13.x86_64 pigsty 9.8 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~trixie_amd64.deb
postgresql-14-pg-plan-filter 0.0.1 d13.aarch64 pigsty 10.1 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~trixie_arm64.deb
postgresql-14-pg-plan-filter 0.0.1 u22.x86_64 pigsty 10.5 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~jammy_amd64.deb
postgresql-14-pg-plan-filter 0.0.1 u22.aarch64 pigsty 10.6 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~jammy_arm64.deb
postgresql-14-pg-plan-filter 0.0.1 u24.x86_64 pigsty 10.1 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~noble_amd64.deb
postgresql-14-pg-plan-filter 0.0.1 u24.aarch64 pigsty 10.2 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~noble_arm64.deb
postgresql-14-pg-plan-filter 0.0.1 u26.x86_64 pigsty 8.8 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~resolute_amd64.deb
postgresql-14-pg-plan-filter 0.0.1 u26.aarch64 pigsty 8.9 KiB postgresql-14-pg-plan-filter_0.0.1-1PIGSTY~resolute_arm64.deb

Source

pig build pkg pg_plan_filter;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_plan_filter;		# install via package name, for the active PG version
pig install plan_filter;		# install by extension name, for the current active PG version

pig install plan_filter -v 18;   # install for PG 18
pig install plan_filter -v 17;   # install for PG 17
pig install plan_filter -v 16;   # install for PG 16
pig install plan_filter -v 15;   # install for PG 15
pig install plan_filter -v 14;   # install for PG 14

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'plan_filter';

This extension does not need CREATE EXTENSION DDL command

Usage

Sources:

plan_filter is the loadable library in pg_plan_filter 1.0.0. It rejects statements or transactions whose estimated plan cost exceeds configured limits. It supports PostgreSQL 14–18 and has no SQL extension to create.

Core Workflow

shared_preload_libraries = 'plan_filter'
plan_filter.statement_cost_limit = 100000.0
plan_filter.transaction_cost_limit = 500000.0
plan_filter.filter_select_only = false
SELECT current_setting('plan_filter.module_loaded', true) IS NOT NULL AS active;

Operational Boundaries

Append the library to the existing preload list and restart; LOAD is also supported for development and testing. Both cost limits default to zero, disabling enforcement. plan_filter.statement_cost_limit caps a single plan and can also reject expensive plain EXPLAIN. plan_filter.transaction_cost_limit charges every execution, including repeated prepared statements; rolling back to a savepoint does not refund the budget. Plain EXPLAIN does not consume the transaction budget, while plan-bearing utility commands do.

plan_filter.filter_select_only applies both limits only to SELECT when true; SELECT can still have side effects. plan_filter.module_loaded is a read-only presence signal. The limit settings require superuser or explicitly granted parameter-setting privileges. Rejection uses SQLSTATE 54001. Cost is an estimate rather than elapsed time, and ordinary roles can lower planner cost settings to evade the threshold. Use this as cooperative protection against accidental load, not as the sole security boundary against hostile sessions.