Show list of active processes to see pid there
1 |
SELECT query, * FROM pg_stat_activity where state = 'active' |
Cancel the process by pid
1 |
select pg_cancel_backend(<pid>) |
Show list of active processes to see pid there
1 |
SELECT query, * FROM pg_stat_activity where state = 'active' |
Cancel the process by pid
1 |
select pg_cancel_backend(<pid>) |