[pgAdmin4][Patch]: Allow user to cancel long running queries from dashboard - Mailing list pgadmin-hackers

From Murtuza Zabuawala
Subject [pgAdmin4][Patch]: Allow user to cancel long running queries from dashboard
Date
Msg-id CAKKotZRY9u9BPsczLvx50aFzeG=5BUofrp4FUeT-nYhexv_5Zw@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: Allow user to cancel long running queries from dashboard  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
hiHi,

PFA patch to add functionality which will allow super user to cancel long running queries from dashboard.
RM#1812

Steps used to test:
1) Open psql session, Connect to 'test' database on respective server
2) Execute "select pg_sleep(1000);"
3) Open pgAdmin4
4) Connect to respective server
5) Click on Dashboard
6) Check "Sessions" tab under "Server activity" section then look for active sessions for test database.
7) Click on cancel button and cancel the active session
8) Check psql session now, you will see "ERROR:  canceling statement due to user request"



--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][Patch] Not to display PID comma separated in statistics panel
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Tag REL-1_6 has been created.