Re: (Never?) Kill Postmaster?

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема Re: (Never?) Kill Postmaster?
Дата
Msg-id 1193206550.8040.25.camel@neuromancer.home.net
обсуждение исходный текст
Ответ на (Never?) Kill Postmaster?  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
Ответы Re: (Never?) Kill Postmaster?  (Christian Schröder <cs@deriva.de>)
Список pgsql-general
On Wed, 2007-10-24 at 07:57 +0200, Stefan Schwarzer wrote:
> 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?


look for the query's procpid and then issue a select
pg_cancel_backend('the_id')

>

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: (Never?) Kill Postmaster?
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: function result cache for pl/pgsql