RM3694-If database is already connected and click on database thenconnect database should not displayed in Menu - Mailing list pgadmin-hackers

From Satish V
Subject RM3694-If database is already connected and click on database thenconnect database should not displayed in Menu
Date
Msg-id CAOEjfmG8_uCTZkOcvm=iK6nDgvcLV-AvUBC41NAOEd1eJRXtjw@mail.gmail.com
Whole thread Raw
Responses Re: RM3694-If database is already connected and click on databasethen connect database should not displayed in Menu  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi Hackers,

In the patch attached, we are gracefully informing the end user, using an alert message, that the database is already connected when they click "Connect Database..." after right clicking on a disconnected database. 

As this problem deals with racing conditions, it is highly complex to show the "Disconnect database" option in the menu upon right click. So we are alerting the end user with the information of "Database already connected".

Thanks,
Sathish V
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Don't rely on python-config sending the help message
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Another attempt at fixing the 'do we need the --embed