pg_kpart version 1.0
Bangkok, Thailand - June 12, 2026 pg_kpart - Reject queries that scan all partitions without using the partition key pg_kpart is a PostgreSQL extension that rejects queries which would scan every partition of a partitioned table without a usable predicate on the partition key. It prevents accidental full-hierarchy scans caused by missing WHERE/JOIN conditions on the partition key. As a DBA, you have almost certainly run into queries that hit a partitioned table without using the partition key. O
