src/postgres/third-party-extensions/pg_partman/doc/fix_missing_procedures.md
If pg_partman was installed on your database instance before it was upgraded to at least PostgreSQL 11, it will likely be missing some or all of the new PROCEDUREs that were added over time. It may have some of them if you have since updated pg_partman to a more recent version, but that only installed PROCEDUREs that happened to be part of that update. There could still be some missing.
The best way to fix this and ensure all PROCEDUREs have been installed is to drop and recreate the extension once you are on PG11 or greater. It is recommended that you test the steps below in development/testing before running on any production systems so you are sure the outcome works as expected.
IMPORTANT NOTES:
partman schema.pg_dump -d mydbname -Fp -a -f partman_update_procedures.sql -t partman.part_config -t partman.part_config_sub
\dx pg_partman
List of installed extensions
Name | Version | Schema | Description
------------+---------+---------+------------------------------------------------------
pg_partman | 4.7.0 | partman | Extension to manage partitioned tables by time or ID
DROP EXTENSION pg_partman;
CREATE EXTENSION pg_partman SCHEMA partman;
psql -d mydbname -i partman_update_procedures.sql
You should now have any missing PROCEDUREs available to use as well as your original pg_partman configuration.