You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be a great feature for me as well. Until then, I use a workaround.
I'm using PgHero with a non-superuser account and followed this guide. However, I changed the pghero.pg_terminate_backend(pid int) function so that it doesn't kill the queries:
CREATE OR REPLACEFUNCTIONpghero.pg_terminate_backend(pid int) RETURNS booleanAS
$$
SELECT true;
$$ LANGUAGE sql VOLATILE SECURITY DEFINER;
This adjustment allows me to "disable" the "kill" button without breaking the application or requiring code changes.
Hello,
I've been using PgHero and I appreciate the work you've put into this tool.
In the "Ideas" issue (#425), I noticed an idea that suggests adding an option to disable killing queries and connections (kill branch).
Making the "Kill" button functionality optional could indeed prevent accidental terminations and potentially enhance the user experience of PgHero.
I'm aware that similar issues were raised in 2021. However, since this idea is listed in the "Ideas", it might be something you're considering.
Many thanks.
The text was updated successfully, but these errors were encountered: