Re: Can we force fully disconnect all client connected to localhost:5432

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Can we force fully disconnect all client connected to localhost:5432
Дата
Msg-id 4B3B40B6.5020609@postnewspapers.com.au
обсуждение исходный текст
Ответ на Can we force fully disconnect all client connected to localhost:5432  (Gaurav K Srivastav <gauravgkp@gmail.com>)
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gaurav K Srivastav
Дата:
Сообщение: Can we force fully disconnect all client connected to localhost:5432
Следующее
От: Gaurav K Srivastav
Дата:
Сообщение: Fwd: Can we force fully disconnect all client connected to localhost:5432