May 2019
Intermediate to advanced
600 pages
20h 46m
English
First, you may want to try pg_cancel_backend(pid), a milder version of pg_terminate_backend(pid).
The difference between these two is that pg_cancel_backend() just cancels the current query, whereas pg_terminate_backend() really kills the backend. (Therefore, this can be used for idle or idle in transaction backends).
Read now
Unlock full access