postgresqlpostgresql-17

PostgreSQL 17: pg_upgrade on Windows Server 2019: could not load library "$libdir/adminpack": No such file or directory


I am stuck at this point. Where do I find the postgres 17 version of adminpack.dll?

EDB installer for postgres 17 does not contain adminpack.dll which is stopping pg_upgrade.


Solution

  • Correct: the "adminpack" extension does no longer exist in PostgreSQL v17, as you can see in the list of incompatibilities in the release notes:

    • Remove adminpack contrib extension (Daniel Gustafsson) §

      This was used by now end-of-life pgAdmin III.

    You will have to remove the extension in v13 before you can upgrade:

    DROP EXTENSION adminpack CASCADE;