May 2019
Intermediate to advanced
600 pages
20h 46m
English
When a backend executes the pg_terminate_backend(pid) function, it sends a signal, SIGTERM, to the backend as an argument after verifying that the process identified by the pid argument is actually a PostgreSQL backend.
The backend receiving this signal stops whatever it is doing, and terminates it in a controlled way.
The client using that backend loses the connection to the database. Depending on how the client application is written, it may silently reconnect, or it may show an error to the user.
Read now
Unlock full access