Re: How to stop a query

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: How to stop a query
Дата
Msg-id 200909040753.03010.guillaume@lelarge.info
обсуждение исходный текст
Ответ на How to stop a query  (A B <gentosaker@gmail.com>)
Список pgsql-general
Le vendredi 4 septembre 2009 à 07:37:20, A B a écrit :
> Hi.
> How can I abort a query that I see is listed in
>
> select * from pg_stat_activity;

You have to do:

  SELECT pg_cancel_backend(pid of the postgres process);


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

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

Предыдущее
От: gabriel munteanu
Дата:
Сообщение: custom datatype - rgb color
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to stop a query