Hi LuisC •,
Welcome to Microsoft Q&A forum.
As I understand, you are performing migration of Azure Database for PostgreSQL and due to pg_partman it is failing.
Could you please try dump and restore method as illustrated here if that suits to your requirement:
Let us know if your ask is different.
Thanks