убить

select * from pg_terminate_backend( pid )
Adventurous Armadillo