February 2020
Intermediate to advanced
734 pages
38h 13m
English
The pg_locks view needs no special access for use, and the pg_blocking_pids function can be called by any user. However, these resources are of limited utility without full access to pg_stat_activity as well. To proceed with this recipe, either connect to the database as a superuser (such as the postgres user) or refer to the Checking the pg_stat_activity view recipe to circumvent this limitation.
Read now
Unlock full access