查到对应的用户的活动连接:

select * from pg_stat_activity where username="xxx";

杀掉死锁的连接:

select pg_terminate_backend(pid)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-28
  • 2021-06-08
  • 2021-08-03
  • 2022-12-23
  • 2022-02-25
相关资源
相似解决方案