On 30/12/2009 2:02 PM, Gaurav K Srivastav wrote:
> Hi,
> Do we have any command to forcefully disconnet each client in postgres .
> If we have please let me know.
In 8.4 there's pg_terminate_backend(). Prior versions don't have any
truly safe method, though sending a SIGTERM to a backend is supposed to
be somewhat safe.
--
Craig Ringer