pg_blocking_pids ( integer ) → integer[]Returns an array of the process ID(s) of the sessions that are blocking the server process with the specified process ID from acquiring a lock, or an empty array if there is no such server process or it is not blocked.
Functions / System Information Functions And Operators
pg_blocking_pids
Read the PG 18 manualReturns an array of the process ID(s) of the sessions that are blocking the server process with the specified process ID from acquiring a lock, or an empty array if there is no such server process or it is not blocked.
Reading PG 18current·documented in 12 of 27 versions, 9.6 to 20
Signatures & examples
Definition snapshot: b7bd9cda · English manual source