【PostgreSQL】PostgreSQL查看锁表的详细信息及解锁
select distinct
'select pg_terminate_backend('||a.pid||');' as unlock_script
,c.relname
,a.pid, a.state, a.
select distinct
'select pg_terminate_backend('||a.pid||');' as unlock_script
,c.relname
,a.pid, a.state, a.