Report this

What is the reason for this report?

Upgrading to postgres 18 with postgis installed

Posted on December 16, 2025

Checking whether I can upgrade my postgres 17 database to postgres 18, I get this error:

upgrade installed extensions before attempting a major version upgrade

Looking at the extensions I have installed, I have:

  • plpgsql 1.0
  • postgis 3.5.0

Any suggestions on ways forward here? The error itself is somewhat cryptic, so I don’t even know if the issue is the versions of these extensions that are installed.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.