摘要: select * from pg_stat_activity where datname = 'datname' and waiting_reason = 'lock'; 根据查询结果中的pid值杀掉进程 select pg_terminate_backend(pid) 阅读全文
posted @ 2023-05-24 09:20 懂得归零 阅读(35) 评论(0) 推荐(0) 编辑