Re: (Never?) Kill Postmaster?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: (Never?) Kill Postmaster?
Дата
Msg-id 162867790710232309u792b59d8wcf1f742d51d85141@mail.gmail.com
обсуждение исходный текст
Ответ на (Never?) Kill Postmaster?  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
Ответы Re: (Never?) Kill Postmaster?  (Tommy Gildseth <tommy.gildseth@usit.uio.no>)
Список pgsql-general
2007/10/24, Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>:
> Hi there,
>
> I read dozens of times the "TIP 2: Don't 'kill -9' the postmaster"...
>
> Now, what am I supposed to do if I launched a query which takes ages, and
> which I want to interrupt?
>
> Thanks for any advice,
>
> Stef
>

Hello

you have to use more gently way

select pg_cancel_backend()
http://www.postgresql.org/docs/current/interactive/functions-admin.html

Pavel



> ____________________________________________________________________
>
>
>   Stefan Schwarzer
>
>   Lean Back and Relax - Enjoy some Nature Photography:
>   http://photoblog.la-famille-schwarzer.de
>
>   Appetite for Global Data? UNEP GEO Data Portal:
>   http://geodata.grid.unep.ch
>
> ____________________________________________________________________
>
>
>
>
>

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

Предыдущее
От: Stefan Schwarzer
Дата:
Сообщение: (Never?) Kill Postmaster?
Следующее
От: Ow Mun Heng
Дата:
Сообщение: Re: (Never?) Kill Postmaster?