Nikhil Ramabhadra
Nikhil Ramabhadra

Reputation: 23

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.

Upvotes: 1

Views: 1786

Answers (1)

Laurenz Albe
Laurenz Albe

Reputation: 247625

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;

Upvotes: 3

Related Questions