macOS
brew install pg_partmanlocal Homebrew formula metadata
brew / rank 4227
Partition management extension for PostgreSQL. Version 5.5.0 via Homebrew; verified 2026-09-15. Also installable with debian: sudo apt install postgresql-17-partman.
install
brew install pg_partmanlocal Homebrew formula metadata
sudo apt install postgresql-17-partmanDebian stable package indexes · postgresql-17-partman · source: deb.debian.org
sudo dnf install pg_partmanFedora Rawhide package metadata · pg_partman · source: dl.fedoraproject.org
sudo apt install postgresql-16-partmanUbuntu 24.04 LTS package indexes · postgresql-16-partman · source: archive.ubuntu.com
overview
Partition management extension for PostgreSQL
history
pg_partman is a PostgreSQL extension that creates and maintains time- or number-based partition sets, including future partition creation, retention, migration, and background maintenance.
pg_partman began as a PostgreSQL extension for managing time- and number-based partition sets, including the trigger-based techniques required by older PostgreSQL releases. As PostgreSQL's declarative partitioning matured, pg_partman added support for the core implementation and migration tooling.
The 5.x series completed a major architectural transition: version 5.0.1 dropped trigger-based partitioning, required PostgreSQL 14 or newer, and standardized on built-in declarative partitioning. Later 5.x releases expanded supported partitioning forms and maintenance capabilities.
pg_partman is distributed not only from source but through community-maintained PostgreSQL operating-system packages. Its usefulness grew as PostgreSQL installations needed repeatable automation for creating future partitions, applying retention, and maintaining large time-series or sequence-based tables.
Administrators create the extension in a chosen database schema, register existing declaratively partitioned parent tables, and configure policies in pg_partman's database configuration tables. Maintenance can be invoked by a scheduler or automated with the bundled background worker; retention, premaking, migration, and monitoring features support production partition lifecycles.
The extension packages a substantial amount of PostgreSQL partitioning operational knowledge into database objects and an optional background worker. Package maintainers must track both PostgreSQL-version compatibility and major pg_partman migrations, particularly the transition away from trigger-based partitioning.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
check_unique_constraint.py | cli | global executable | |
dump_partition.py | cli | global executable | |
vacuum_maintenance.py | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/pgpartman/pg_partman
install metadata
| Package key | brew:pg_partman |
|---|---|
| Version | 5.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pg_partman |
| Homepage | https://github.com/pgpartman/pg_partman |
| Repository | https://github.com/pgpartman/pg_partman |
| License | PostgreSQL |
| Source archive | https://github.com/pgpartman/pg_partman/archive/refs/tags/v5.5.0.tar.gz |
| Last updated | 2026-09-15T01:40:46Z |
| Pulse | updated |
| Build dependencies | postgresql@17, postgresql@18 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pg_partman |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
postgresql-17-partman 5.2.4-1
PostgreSQL Partition Manager
https://github.com/pgpartman/pg_partman
sudo apt install postgresql-17-partmanpostgresql-16-partman 5.0.1-1
PostgreSQL Partition Manager
https://github.com/pgpartman/pg_partman
sudo apt install postgresql-16-partmanpg_partman 5.4.3-3.fc45
PostgresSQL Partition Manager
https://github.com/pgpartman/pg_partman
sudo dnf install pg_partmansource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.