Skip to content

Glossary: PostgreSQL Beyond the Basics

pg_blocking_pids()

Also written: pg_blocking_pids

A function that lists the processes blocking a given process. It is used with `pg_stat_activity` to see who waits for whom.

Where the book teaches it

Related terms

pg_stat_activitypg_locks