Reapply_foreign_keys.py
Install reapply_foreign_keys.py
-
Debian
apt-get install postgresql-9.6-partmanClick to copy -
Ubuntu
apt-get install postgresql-10-partmanClick to copy -
Raspbian
apt-get install postgresql-9.6-partmanClick to copy
postgresql-9.6-partman
PostgreSQL Partition Managerpg_partman is a PostgreSQL extension to create and manage both time-based and serial-based table partition sets. Sub-partitioning is also supported. Child table & trigger function creation is all managed by the extension itself. Tables with existing data can also have their data partitioned in easily managed smaller batches. Optional retention policy can automatically drop partitions no longer needed. A background worker (BGW) process is included to automatically run partition maintenance without the need of an external scheduler (cron, etc) in most cases.
postgresql-10-partman
PostgreSQL Partition Managerpostgresql-9.5-partman
PostgreSQL Partition Manager
Installation of latest reapply_foreign_keys.py command is available for Debian, Ubuntu and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




