Skip to content

Version 2.0

Latest

Choose a tag to compare

@darold darold released this 03 Dec 13:11
· 10 commits to main since this release

December 03 2026

This release adds a new feature to disable partition creation during peak
hours, adds support to PG19 and fix issues reported by users since last release.

  • Add new GUC: pg_kpart.deny_partition_creation to allow to forbid the
    creation of partitions during given time-of-day windows, to avoid taking
    locks on busy partitioned tables during peak hours. Default: empty, no
    restriction.
    The value is a comma-separated list of HH:MM[:SS]-HH:MM[:SS] windows,
    start included and end excluded, for example '08:00-12:00, 14:00-18:00'.
    A window may wrap around midnight ('22:00-06:00') and 24:00 is accepted
    as end of window. Invalid values are rejected by a check hook.
  • Add new GUC: pg_kpart.nouser_change. Default: off. When set to on, it
    will prevent non superuser roles to mofidy the settings of the pg_kpart
    extension.
  • Add support to PG19. Thanks to Devrim Gunduz for the report.
  • Document that the check is bypassable and runs at plan time. Thanks to
    Suman Michael for the patch.
  • Document that pg_kpart.enabled and pg_kpart.message_level are USERSET GUCs,
    so any role can run "SET pg_kpart.enabled = off" (or lower the message
    level) to bypass enforcement for its own session. Thanks to Suman Michael
    for the patch.
  • The CI workflow triggered only on the master branch, but this repository's
    default (and only) branch is main, so the PG 14 to 18 build/test matrix never
    ran on push or pull request. Point the push and pull_request triggers at main
    and update the stale comment. Thanks to Suman Michael for the patch.