pgAdmin - Sharing DB Connection Definitions

You should have a .pgadmin3 conf file in your home directory. You just need to give that one to your fellow developers.


By the way, for those looking for the answer to this question on the Windows platform, the server definitions are stored in the Windows registry at HKEY_CURRENT_USER\Software\pgAdmin III\Servers

You can export this key to a .reg file and share it. However, due to the naming of the keys, it will likely overwrite any existing keys in the target registry.


On Original Computer

Export the server definitions found in Windows registry found here:

Windows Key > regedit

HKEY_CURRENT_USER\Software\pgAdmin III\Servers

Right Click on Servers Folder and click Export

Leave the default radio button 'Selected Branch' the way it is. This will be how it knows where to insert it when you want to import it.

Choose a name for your file (e.g. pgadminServers) and click Save

This is the file you will use to import to another computer (which ideally has the same version of pgAdmin)

On New Computer

Make sure pgadmin is not currently open

Windows Key > regedit

File > Import > Choose your pgadminServers.reg file.

Click Ok to the alert that says 'The keys and values contained in //filepath have been successfully added to the registry.'

Close or exit the registry editor

Launch pgAdmin