PGROUTING extension fails to deploy when added to postgres 16

Christian Shardey 0 Reputation points
2025-10-23T13:45:37.9966667+00:00

PGROUTING extension was added recently to the extension list for postgres 16.
However when I add that extension to my postgres v16 this is failing to deploy.

User's image

Azure Database for PostgreSQL
{count} votes

2 answers

Sort by: Most helpful
  1. VRISHABHANATH PATIL 1,820 Reputation points Microsoft External Staff Moderator
    2025-11-05T07:36:43.4533333+00:00

    Hi Christian Shardey,

    When upgrading to PostgreSQL 17, the following extensions are not supported and must be removed before upgrade. You may re-enable them only if supported on the target version: age, azure_ai, hll, pg_diskann, pgrouting.

    Its documented here: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-major-version-upgrade#extension-limitations

    Please let me know if this helps and If you still have questions, please let us know what is needed in the comments so this question can be answered.

    0 comments No comments

  2. Christian Shardey 0 Reputation points
    2025-11-18T08:25:07.0266667+00:00

    If this is the issue why do you publish on your website that pgrouting is supported???
    I think the documentation on the website is a bit misleading


Your answer

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