Top
Enterprise Postgres 17 Operation Guide

17.4 Actions in Response to an Application Error

If there is a connection from a client that has been in the waiting state for an extended period, you can minimize performance degradation of the database by closing the problematic connection.

The following methods are available for identifying a connection to be closed:

Use the system management function (pg_terminate_backend) to disconnect connections.