查到對應的用戶的活動連接: select * from pg_stat_activity where username="xxx"; 殺掉死鎖的連接: select pg_terminate_backend(pid) ...
查到對應的用戶的活動連接:
select * from pg_stat_activity where username="xxx";
殺掉死鎖的連接:
select pg_terminate_backend(pid)
查到對應的用戶的活動連接: select * from pg_stat_activity where username="xxx"; 殺掉死鎖的連接: select pg_terminate_backend(pid) ...
查到對應的用戶的活動連接:
select * from pg_stat_activity where username="xxx";
殺掉死鎖的連接:
select pg_terminate_backend(pid)