May 2018
Intermediate to advanced
576 pages
30h 25m
English
You can either run this function as a superuser or with the same user as that of the offending backend (look for the usename field in the pg_stat_activity view).
Once you have figured out the backend you need to kill, use the function named pg_terminate_backend(pid) to kill it.