plan_filter

filter statements by their execution plans.

Overview

PIGSTY 3rd Party Extension: pg_plan_filter : filter statements by their execution plans.

Information

Metadata

  • Latest Version: 0.0.1
  • Postgres Support: 17,16,15,14,13
  • Need Load: Explicit Loading Required
  • Need DDL: Dd not need CREATE EXTENSION DDL
  • Relocatable: Can be installed into other schemas
  • Trusted: Untrusted, Require Superuser to Create
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_plan_filter_$v*
  • RPM Ver : 0.0.1
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-plan-filter
  • DEB Ver : 0.0.1
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el8 aarch64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el9 x86_64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el9 aarch64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1

Installation

Install plan_filter via the pig CLI tool:


pig ext install pg_plan_filter; # Extension Namepig ext install plan_filter; # normalized package name

Install pg_plan_filter via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_plan_filter"]}' # -l <cls>

Install pg_plan_filter RPM from YUM repo directly:

dnf install pg_plan_filter_17*;
dnf install pg_plan_filter_16*;
dnf install pg_plan_filter_15*;
dnf install pg_plan_filter_14*;
dnf install pg_plan_filter_13*;

Install pg_plan_filter DEB from APT repo directly:

apt install postgresql-17-pg-plan-filter;
apt install postgresql-16-pg-plan-filter;
apt install postgresql-15-pg-plan-filter;
apt install postgresql-14-pg-plan-filter;
apt install postgresql-13-pg-plan-filter;

Extension plan_filter has to be added to shared_preload_libraries

shared_preload_libraries = 'plan_filter'; # add to pg cluster config

Extension %s does not need CREATE EXTENSION command





Last modified 2025-02-17: add extension part (cfa504b)