跳转到主要内容

plan_filter

基于计划估算成本的语句与事务负载保护

pg_plan_filter · 基于计划估算成本的语句与事务负载保护

概览

ID扩展软件包版本类别许可证编程语言
2810plan_filterpg_plan_filter1.0.0FEATPostgreSQLC
属性可执行文件动态库需要预加载需要建扩展可迁移可信
--sL---否是是否否否
Not a security boundary.

软件包

类型仓库版本兼容的 PostgreSQL 大版本包名模式依赖
EXTPIGSTY1.0.019 18 17 16 15pg_plan_filter-
RPMPIGSTY1.0.019 18 17 16 15pg_plan_filter_$v-
DEBPIGSTY1.0.019 18 17 16 15postgresql-$v-pg-plan-filter-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
el8.aarch64N/APGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
el9.x86_64PIGSTY 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
el9.aarch64PIGSTY 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
el10.x86_64PIGSTY 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
el10.aarch64PIGSTY 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0PGDG 1.0.0
d12.x86_64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
d12.aarch64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
d13.x86_64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
d13.aarch64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u22.x86_64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u22.aarch64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u24.x86_64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u24.aarch64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u26.x86_64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
u26.aarch64PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0PIGSTY 1.0.0
软件包版本平台仓库大小下载
pg_plan_filter_191.0.0el9.x86_64pigsty22.0 KiBpg_plan_filter_19-1.0.0-1PGSTY.el9.x86_64.rpm
pg_plan_filter_191.0.0el9.aarch64pigsty21.9 KiBpg_plan_filter_19-1.0.0-1PGSTY.el9.aarch64.rpm
pg_plan_filter_191.0.0el10.x86_64pigsty22.0 KiBpg_plan_filter_19-1.0.0-1PGSTY.el10.x86_64.rpm
pg_plan_filter_191.0.0el10.aarch64pigsty22.0 KiBpg_plan_filter_19-1.0.0-1PGSTY.el10.aarch64.rpm
postgresql-19-pg-plan-filter1.0.0d12.x86_64pigsty10.3 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~bookworm_amd64.deb
postgresql-19-pg-plan-filter1.0.0d12.aarch64pigsty10.5 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~bookworm_arm64.deb
postgresql-19-pg-plan-filter1.0.0d13.x86_64pigsty10.3 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~trixie_amd64.deb
postgresql-19-pg-plan-filter1.0.0d13.aarch64pigsty10.6 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~trixie_arm64.deb
postgresql-19-pg-plan-filter1.0.0u22.x86_64pigsty10.6 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~jammy_amd64.deb
postgresql-19-pg-plan-filter1.0.0u22.aarch64pigsty10.6 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~jammy_arm64.deb
postgresql-19-pg-plan-filter1.0.0u24.x86_64pigsty10.6 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~noble_amd64.deb
postgresql-19-pg-plan-filter1.0.0u24.aarch64pigsty10.7 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~noble_arm64.deb
postgresql-19-pg-plan-filter1.0.0u26.x86_64pigsty10.8 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~resolute_amd64.deb
postgresql-19-pg-plan-filter1.0.0u26.aarch64pigsty10.8 KiBpostgresql-19-pg-plan-filter_1.0.0-1PGSTY~resolute_arm64.deb
软件包版本平台仓库大小下载
pg_plan_filter_181.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_181.0.0el8.x86_64pigsty21.9 KiBpg_plan_filter_18-1.0.0-1PGSTY.el8.x86_64.rpm
pg_plan_filter_181.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_181.0.0el8.aarch64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_181.0.0el8.aarch64pigsty22.1 KiBpg_plan_filter_18-1.0.0-1PGSTY.el8.aarch64.rpm
pg_plan_filter_181.0.0el8.aarch64pgdg16.2 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_181.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.9.x86_64.rpm
pg_plan_filter_181.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_181.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_181.0.0el9.x86_64pigsty22.0 KiBpg_plan_filter_18-1.0.0-1PGSTY.el9.x86_64.rpm
pg_plan_filter_181.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_181.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_181.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.9.aarch64.rpm
pg_plan_filter_181.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_181.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_181.0.0el9.aarch64pigsty21.9 KiBpg_plan_filter_18-1.0.0-1PGSTY.el9.aarch64.rpm
pg_plan_filter_181.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_181.0.0el9.aarch64pgdg16.0 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_181.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.3.x86_64.rpm
pg_plan_filter_181.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_181.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_181.0.0el10.x86_64pigsty22.0 KiBpg_plan_filter_18-1.0.0-1PGSTY.el10.x86_64.rpm
pg_plan_filter_181.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_181.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_181.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.3.aarch64.rpm
pg_plan_filter_181.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_181.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_18-1.0.0-2PGDG.rhel10.1.aarch64.rpm
pg_plan_filter_181.0.0el10.aarch64pigsty22.0 KiBpg_plan_filter_18-1.0.0-1PGSTY.el10.aarch64.rpm
pg_plan_filter_181.0.0el10.aarch64pgdg16.2 KiBpg_plan_filter_18-1.0.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-18-pg-plan-filter1.0.0d12.x86_64pigsty10.3 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~bookworm_amd64.deb
postgresql-18-pg-plan-filter1.0.0d12.aarch64pigsty10.5 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~bookworm_arm64.deb
postgresql-18-pg-plan-filter1.0.0d13.x86_64pigsty10.3 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~trixie_amd64.deb
postgresql-18-pg-plan-filter1.0.0d13.aarch64pigsty10.5 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~trixie_arm64.deb
postgresql-18-pg-plan-filter1.0.0u22.x86_64pigsty10.6 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~jammy_amd64.deb
postgresql-18-pg-plan-filter1.0.0u22.aarch64pigsty10.5 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~jammy_arm64.deb
postgresql-18-pg-plan-filter1.0.0u24.x86_64pigsty10.6 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~noble_amd64.deb
postgresql-18-pg-plan-filter1.0.0u24.aarch64pigsty10.7 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~noble_arm64.deb
postgresql-18-pg-plan-filter1.0.0u26.x86_64pigsty10.8 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~resolute_amd64.deb
postgresql-18-pg-plan-filter1.0.0u26.aarch64pigsty10.8 KiBpostgresql-18-pg-plan-filter_1.0.0-1PGSTY~resolute_arm64.deb
软件包版本平台仓库大小下载
pg_plan_filter_171.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_171.0.0el8.x86_64pigsty21.8 KiBpg_plan_filter_17-1.0.0-1PGSTY.el8.x86_64.rpm
pg_plan_filter_171.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_171.0.0el8.aarch64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_171.0.0el8.aarch64pigsty21.9 KiBpg_plan_filter_17-1.0.0-1PGSTY.el8.aarch64.rpm
pg_plan_filter_171.0.0el8.aarch64pgdg16.2 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_171.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.9.x86_64.rpm
pg_plan_filter_171.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_171.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_171.0.0el9.x86_64pigsty21.8 KiBpg_plan_filter_17-1.0.0-1PGSTY.el9.x86_64.rpm
pg_plan_filter_171.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_171.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_171.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.9.aarch64.rpm
pg_plan_filter_171.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_171.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_171.0.0el9.aarch64pigsty21.7 KiBpg_plan_filter_17-1.0.0-1PGSTY.el9.aarch64.rpm
pg_plan_filter_171.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_171.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_171.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.3.x86_64.rpm
pg_plan_filter_171.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_171.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_171.0.0el10.x86_64pigsty21.8 KiBpg_plan_filter_17-1.0.0-1PGSTY.el10.x86_64.rpm
pg_plan_filter_171.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_171.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_171.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.3.aarch64.rpm
pg_plan_filter_171.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_171.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_17-1.0.0-2PGDG.rhel10.1.aarch64.rpm
pg_plan_filter_171.0.0el10.aarch64pigsty21.8 KiBpg_plan_filter_17-1.0.0-1PGSTY.el10.aarch64.rpm
pg_plan_filter_171.0.0el10.aarch64pgdg16.2 KiBpg_plan_filter_17-1.0.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-17-pg-plan-filter1.0.0d12.x86_64pigsty10.2 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~bookworm_amd64.deb
postgresql-17-pg-plan-filter1.0.0d12.aarch64pigsty10.3 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~bookworm_arm64.deb
postgresql-17-pg-plan-filter1.0.0d13.x86_64pigsty10.2 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~trixie_amd64.deb
postgresql-17-pg-plan-filter1.0.0d13.aarch64pigsty10.4 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~trixie_arm64.deb
postgresql-17-pg-plan-filter1.0.0u22.x86_64pigsty12.7 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~jammy_amd64.deb
postgresql-17-pg-plan-filter1.0.0u22.aarch64pigsty12.6 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~jammy_arm64.deb
postgresql-17-pg-plan-filter1.0.0u24.x86_64pigsty10.4 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~noble_amd64.deb
postgresql-17-pg-plan-filter1.0.0u24.aarch64pigsty10.5 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~noble_arm64.deb
postgresql-17-pg-plan-filter1.0.0u26.x86_64pigsty10.7 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~resolute_amd64.deb
postgresql-17-pg-plan-filter1.0.0u26.aarch64pigsty10.7 KiBpostgresql-17-pg-plan-filter_1.0.0-1PGSTY~resolute_arm64.deb
软件包版本平台仓库大小下载
pg_plan_filter_161.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_161.0.0el8.x86_64pigsty21.8 KiBpg_plan_filter_16-1.0.0-1PGSTY.el8.x86_64.rpm
pg_plan_filter_161.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_161.0.0el8.aarch64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_161.0.0el8.aarch64pigsty21.9 KiBpg_plan_filter_16-1.0.0-1PGSTY.el8.aarch64.rpm
pg_plan_filter_161.0.0el8.aarch64pgdg16.2 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_161.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.9.x86_64.rpm
pg_plan_filter_161.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_161.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_161.0.0el9.x86_64pigsty21.8 KiBpg_plan_filter_16-1.0.0-1PGSTY.el9.x86_64.rpm
pg_plan_filter_161.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_161.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_161.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.9.aarch64.rpm
pg_plan_filter_161.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_161.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_161.0.0el9.aarch64pigsty21.7 KiBpg_plan_filter_16-1.0.0-1PGSTY.el9.aarch64.rpm
pg_plan_filter_161.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_161.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_161.0.0el10.x86_64pgdg16.4 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.3.x86_64.rpm
pg_plan_filter_161.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_161.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_161.0.0el10.x86_64pigsty21.8 KiBpg_plan_filter_16-1.0.0-1PGSTY.el10.x86_64.rpm
pg_plan_filter_161.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_161.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_161.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.3.aarch64.rpm
pg_plan_filter_161.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_161.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_16-1.0.0-2PGDG.rhel10.1.aarch64.rpm
pg_plan_filter_161.0.0el10.aarch64pigsty21.8 KiBpg_plan_filter_16-1.0.0-1PGSTY.el10.aarch64.rpm
pg_plan_filter_161.0.0el10.aarch64pgdg16.2 KiBpg_plan_filter_16-1.0.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-16-pg-plan-filter1.0.0d12.x86_64pigsty10.2 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~bookworm_amd64.deb
postgresql-16-pg-plan-filter1.0.0d12.aarch64pigsty10.3 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~bookworm_arm64.deb
postgresql-16-pg-plan-filter1.0.0d13.x86_64pigsty10.2 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~trixie_amd64.deb
postgresql-16-pg-plan-filter1.0.0d13.aarch64pigsty10.4 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~trixie_arm64.deb
postgresql-16-pg-plan-filter1.0.0u22.x86_64pigsty12.6 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~jammy_amd64.deb
postgresql-16-pg-plan-filter1.0.0u22.aarch64pigsty12.6 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~jammy_arm64.deb
postgresql-16-pg-plan-filter1.0.0u24.x86_64pigsty10.4 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~noble_amd64.deb
postgresql-16-pg-plan-filter1.0.0u24.aarch64pigsty10.5 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~noble_arm64.deb
postgresql-16-pg-plan-filter1.0.0u26.x86_64pigsty10.6 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~resolute_amd64.deb
postgresql-16-pg-plan-filter1.0.0u26.aarch64pigsty10.7 KiBpostgresql-16-pg-plan-filter_1.0.0-1PGSTY~resolute_arm64.deb
软件包版本平台仓库大小下载
pg_plan_filter_151.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_151.0.0el8.x86_64pigsty21.7 KiBpg_plan_filter_15-1.0.0-1PGSTY.el8.x86_64.rpm
pg_plan_filter_151.0.0el8.x86_64pgdg16.4 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel8.10.x86_64.rpm
pg_plan_filter_151.0.0el8.aarch64pgdg16.4 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_151.0.0el8.aarch64pigsty21.9 KiBpg_plan_filter_15-1.0.0-1PGSTY.el8.aarch64.rpm
pg_plan_filter_151.0.0el8.aarch64pgdg16.2 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel8.10.aarch64.rpm
pg_plan_filter_151.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.9.x86_64.rpm
pg_plan_filter_151.0.0el9.x86_64pgdg16.4 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_151.0.0el9.x86_64pgdg16.3 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_151.0.0el9.x86_64pigsty21.8 KiBpg_plan_filter_15-1.0.0-1PGSTY.el9.x86_64.rpm
pg_plan_filter_151.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel9.8.x86_64.rpm
pg_plan_filter_151.0.0el9.x86_64pgdg16.1 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel9.7.x86_64.rpm
pg_plan_filter_151.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.9.aarch64.rpm
pg_plan_filter_151.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_151.0.0el9.aarch64pgdg16.2 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_151.0.0el9.aarch64pigsty21.7 KiBpg_plan_filter_15-1.0.0-1PGSTY.el9.aarch64.rpm
pg_plan_filter_151.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel9.8.aarch64.rpm
pg_plan_filter_151.0.0el9.aarch64pgdg15.9 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel9.7.aarch64.rpm
pg_plan_filter_151.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.3.x86_64.rpm
pg_plan_filter_151.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_151.0.0el10.x86_64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_151.0.0el10.x86_64pigsty21.8 KiBpg_plan_filter_15-1.0.0-1PGSTY.el10.x86_64.rpm
pg_plan_filter_151.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel10.2.x86_64.rpm
pg_plan_filter_151.0.0el10.x86_64pgdg16.2 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel10.1.x86_64.rpm
pg_plan_filter_151.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.3.aarch64.rpm
pg_plan_filter_151.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.2.aarch64.rpm
pg_plan_filter_151.0.0el10.aarch64pgdg16.5 KiBpg_plan_filter_15-1.0.0-2PGDG.rhel10.1.aarch64.rpm
pg_plan_filter_151.0.0el10.aarch64pigsty21.8 KiBpg_plan_filter_15-1.0.0-1PGSTY.el10.aarch64.rpm
pg_plan_filter_151.0.0el10.aarch64pgdg16.2 KiBpg_plan_filter_15-1.0.0-1PGDG.rhel10.1.aarch64.rpm
postgresql-15-pg-plan-filter1.0.0d12.x86_64pigsty10.2 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~bookworm_amd64.deb
postgresql-15-pg-plan-filter1.0.0d12.aarch64pigsty10.3 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~bookworm_arm64.deb
postgresql-15-pg-plan-filter1.0.0d13.x86_64pigsty10.2 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~trixie_amd64.deb
postgresql-15-pg-plan-filter1.0.0d13.aarch64pigsty10.4 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~trixie_arm64.deb
postgresql-15-pg-plan-filter1.0.0u22.x86_64pigsty12.6 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~jammy_amd64.deb
postgresql-15-pg-plan-filter1.0.0u22.aarch64pigsty12.6 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~jammy_arm64.deb
postgresql-15-pg-plan-filter1.0.0u24.x86_64pigsty10.4 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~noble_amd64.deb
postgresql-15-pg-plan-filter1.0.0u24.aarch64pigsty10.5 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~noble_arm64.deb
postgresql-15-pg-plan-filter1.0.0u26.x86_64pigsty10.7 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~resolute_amd64.deb
postgresql-15-pg-plan-filter1.0.0u26.aarch64pigsty10.7 KiBpostgresql-15-pg-plan-filter_1.0.0-1PGSTY~resolute_arm64.deb

源码

pig build pkg pg_plan_filter;		# build rpm/deb

安装

启用 PGDG 和 PIGSTY 仓库并更新缓存。

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

使用 pig 安装扩展。

pig install pg_plan_filter;		# install by package name
pig install plan_filter;		# install by extension name

pig install plan_filter -v 19;   # install for PG 19
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

将扩展加入 shared_preload_libraries,详见配置说明。

shared_preload_libraries = 'plan_filter';

此扩展无需执行 CREATE EXTENSION。

用法

来源:

plan_filter 是 pg_plan_filter 1.0.0 的可加载库,根据配置的计划估算成本拒绝语句或事务。支持 PostgreSQL 14–18,没有需要创建的 SQL 扩展。

核心用法

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;

运行边界

将库追加到已有预加载列表并重启;开发和测试也可使用 LOAD。两个成本上限都默认为零,即不限制。plan_filter.statement_cost_limit 限制单条计划,也可能拒绝高成本的普通 EXPLAIN。plan_filter.transaction_cost_limit 对每次执行记账,包括反复执行预备语句;回滚到保存点不会返还预算。普通 EXPLAIN 不消耗事务预算,包含执行计划的工具命令则会计入。

plan_filter.filter_select_only 为真时两个上限只过滤 SELECT,但 SELECT 仍可能产生副作用。plan_filter.module_loaded 是只读的加载标志。修改上限需要超级用户或明确授予的参数设置权限,拒绝操作的 SQLSTATE 为 54001。成本是估算值而非运行时间,普通角色可以降低规划器成本设置绕过阈值。因此它适合防止意外负载,不能单独承担对抗恶意会话的安全边界。

表格阅读器