摘要: ``` 方法一: select * from pg_locks a join pg_class b on a.relation = b.oid join pg_stat_activity c on a.pid = c.pid where a.mode like '%ExclusiveLock%'; 方法二: SELECT locker.pid, pc.relname, locker.mode, l 阅读全文
posted @ 2020-04-11 11:02 也曾少年 阅读(363) 评论(0) 推荐(0) 编辑