3

A new version of pgAdmin 4 is released almost every month. I wonder what is the correct way to upgrade a newer version of it?

Is it necessary to uninstall the older version first and install the new one latter? Or will the installer from the newest version overwrite the old ones without fragmenting files in the system?

I could not find the answer in pgadmin.org website or other places as well.

I believe this is on-topic as discussed in GIS Meta: Are software installation questions on topic? Besides providing great support for PostgreSQL, pgAdmin 4 now even has a geometry viewer (see here).

0

1 Answer 1

5

Update:

After upgrading to version 5.2, it created a new folder 'v5' within 'Program Files\pgAdmin 4' (instead of overwriting 'v4'). So, I manually uninstalled pgAdmin 4 'v4' (through Windows 'Control Panel') and then, deleted the remaining 'v4' folder. My server connections and master password kept unaltered in the new version.


Original answer:

In Windows, I have been using and upgrading pgAdmin 4 since version 3.1. Now, have just upgraded to 4.22 version (mai/2020).

What I do is just download the installer (see here) and run it. It will overwrite previous version. The server connection setups I had in previous versions are all kept when starting the new version as well.

1
  • 1
    If you get errors after installation, delete the folders under %appdata%\pgAdmin, you'll lost the stored connection though. But with new versions old files in that directory may cause errors. Commented Nov 5, 2018 at 15:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.