May 17, 2026, 11:40 PM
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- QUERY TO FIND BLOCKING SESSION DETAILS
|
||||
|
||||
dbaclass#select pid as blocked_pid, usename, pg_blocking_pids(pid) as "blocked_by(pid)", query as blocked_query from pg_stat_activity where cardinality(pg_blocking_pids(pid)) > 0;
|
||||
Reference in New Issue
Block a user