Thread: [pgAdmin][RM5142]Connections are not getting closed when disconnectthe server while debugging is in progress.

Hi Hackers,

Attached is the patch to cancel any transaction before closing the connections when a server is disconnected using pgAdmin UI.
Currently, debugger connection is marked to termination when the server is disconnected, but it does not close because of some ongoing transaction.

Please review.
--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment
Thanks, patch applied.

On Fri, Feb 28, 2020 at 12:09 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to cancel any transaction before closing the connections when a server is disconnected using pgAdmin UI.
Currently, debugger connection is marked to termination when the server is disconnected, but it does not close because of some ongoing transaction.

Please review.
--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246