pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.56k stars 659 forks source link

Server does not auto-connects on query tool update connection. #8144

Open anilsahoo20 opened 1 week ago

anilsahoo20 commented 1 week ago

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When we disconnect the server and update query tool connection, query tool gets auto connected but the server does not, after server group refresh also it does not auto connects.

To Reproduce

Steps to reproduce the behavior:

  1. Open query tool for maintenance db
  2. add a new connection to another db using new connection dialog
  3. update the connection to maintenance db
  4. disconnect the server
  5. update the connection from maintenance db to another db
  6. Query tool reconnects
  7. refresh the server group from object explorer, the server is still disconnected

Expected behavior

It should connect to the server