[Postgres migration] pg_partman ExtensionsValidation error

LuisC 20 Reputation points
2024-07-23T18:52:16.6466667+00:00

I'm getting the following error:

Error 603405: Unsupported extension(s). The migration service does not support the migration of databases with 'pg_partman' extension(s) on the target server.

And I know we have that error listed here. Is there a workaround for this?

Azure Database Migration service
Azure Database for PostgreSQL
{count} votes

2 answers

Sort by: Most helpful
  1. SSingh-MSFT 16,281 Reputation points Moderator
    2024-07-24T05:19:03.3466667+00:00

    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:

    https://learn.microsoft.com/en-us/azure/postgresql/migrate/how-to-migrate-using-dump-and-restore?tabs=psql

    Let us know if your ask is different.

    Thanks

    0 comments No comments

  2. SSingh-MSFT 16,281 Reputation points Moderator
    2024-07-26T05:04:44.7766667+00:00

    Hi LuisC •,

    As of today, there is no direct workaround for pg_partman extension, only workaround is to use pg_dump and pg_restore or remove that extension from the source DB.

    Please feel free to submit your feedback over Azure Database for PostgreSQL Community so that team can acknowledge and work on it depending on the importance and up-votes received.

    Thanks.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.