select distinct pid from pg_locks where granted and relation in (select relation from pg_locks where not granted);
![]() |
Roland Turner |
about | contact | |
select distinct pid from pg_locks where granted and relation in (select relation from pg_locks where not granted);