Site icon JD Bots

How to Remove a Server from pgAdmin 4

Featured card for the guide Remove a Server from pgAdmin 4, with a checklist: right-click the server, Remove Server, confirm with Remove, and the databases stay.

How to Remove a Server from pgAdmin 4

Registered a server twice, or no longer need one? Remove it from pgAdmin 4’s list. Only pgAdmin’s entry goes; the PostgreSQL server and its databases stay as they are.

Every screen on this page is real, from pgAdmin 4 9.19 with PostgreSQL 19 on macOS.

Step 1: Choose Remove Server

In the Object Explorer, right-click the server and choose Remove Server. This guide removes an entry named Local Server:

Right-click the server and choose Remove Server.

The menu shows its keyboard shortcut too: Option-Shift-D on a Mac.

Step 2: Confirm

pgAdmin asks first. Click Remove:

Click Remove to confirm.

Step 3: Check the List

The entry is gone:

Local Server is gone; PostgreSQL 19 is still there and connected.

PostgreSQL 19, a second entry for the same server, is still connected: removing an entry doesn’t stop the server or delete anything in it.

FAQ

Does Remove Server delete my databases?

No. It only deletes pgAdmin’s saved entry for the server. Here, the same PostgreSQL server stayed connected through its other entry.

Can I get the entry back?

Yes. Register the server again, as How to Register a Server in pgAdmin 4 shows.

Conclusion

Right-click the server in the Object Explorer, choose Remove Server and click Remove. pgAdmin forgets the entry, and the server itself keeps running.

Additional Resources

Related

Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.

Exit mobile version