Killing process through of a function

Поиск
Список
Период
Сортировка
От alexandre::aldeia digital
Тема Killing process through of a function
Дата
Msg-id 42148A97.7080901@aldeiadigital.com.br
обсуждение исходный текст
Ответы Re: Killing process through of a function  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Hi,


Can I kill a postgres user process inside a function (SP)?

Sometimes, the java program that our company uses stay in "idle in
transaction" and every day, I need to import a text data to some tables
in DB.
This import make a TRUNCATE in this tables and I need to kill the
remaining process before execute this, to avoid the lock wait.

Thanks for any help


Alexandre de Arruda Paes

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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: [postgis-users] postgresql8.0 and postgis1.0.0
Следующее
От: Bo Lorentsen
Дата:
Сообщение: Deadlock and FK triggers