Upgrade PostgreSQL flexible server from 16.8 to 17 with PostGIS installed

Staffan Hedström - HMS 120 Reputation points
2025-08-19T14:41:00.78+00:00

Hello!

We are running a PostgreSQL flexible server version 16.8 with the PostGIS extension enabled.

When we attempt to upgrade the flexible server to 17 we are stopped with an error indicating that the installed PostGIS version not being supported on PostgreSQL 17.

Opening up the db, we are unable to upgrade the PostGIS version further since our current installation already uses the latest PostGIS versions available for PostgreSQL Flexible Server (16.8).

How can I upgrade my flexible server?

Thank you in advance.

Azure Database for PostgreSQL
{count} votes

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.