Re: How to cancel a query if SIGINT does not work?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to cancel a query if SIGINT does not work?
Дата
Msg-id 25688.1124468851@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to cancel a query if SIGINT does not work?  (Adam Witney <awitney@sgul.ac.uk>)
Ответы Re: How to cancel a query if SIGINT does not work?  (Adam Witney <awitney@sgul.ac.uk>)
Список pgsql-general
Adam Witney <awitney@sgul.ac.uk> writes:
> I have a query that appears to have hung somehow. I have tried sending a
> SIGINT but this does not cancel it... What's the next step without taking
> down the whole server?

In theory that should always work.  What PG version is this?  Can you
attach to the stuck backend with gdb and get a stack trace?

            regards, tom lane

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: question about plpgsql replace function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: http://www.postgresql.org/docs/8.0/static/xfunc-sql.html