abhi's logbook

Adventures in coding and coding for adventures.

Kill Hung Query

SELECT pid FROM pg_stat_activity;
SELECT pg_terminate_backend(<pid>);