How to terminate a query

Поиск
Список
Период
Сортировка
От A B
Тема How to terminate a query
Дата
Msg-id t2xdbbf25901004201342i456463rc5c3864610ab48ee@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to terminate a query  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Hi there!

select * from pg_stat_activity;
shows me a
  select my_function(....)
query that has been running for too long.
How do I kill it?

kill -9 of the procpid seems  to kill the entire server process. So
I'm not really comfortable with that.
The query was started by a webscript that was closed a long time ago.

So how do you stop them? (This is on a Linux box)

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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Ltree - how to sort nodes on parent node
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [ADMIN] Can the log_statement parameter be set at the user level?