Re: Update problem on large table

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Update problem on large table
Дата
Msg-id AANLkTinG-8DsMGp4ya4HS2ZgL13uNXuc0Gy9Ai0H_u00@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Update problem on large table  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Ответы Re: Update problem on large table
Список pgsql-performance
On Mon, Dec 6, 2010 at 2:48 PM, Jon Nelson <jnelson+pgsql@jamponi.net> wrote:
> On Mon, Dec 6, 2010 at 1:46 PM, bricklen <bricklen@gmail.com> wrote:
>> Not sure if anyone replied about killing your query, but you can do it like so:
>>
>> select pg_cancel_backend(5902);  -- assuming 5902 is the pid of the
>> query you want canceled.
>
> How does this differ from just killing the pid?

pg_cancel_backend(5902) does the same thing as:
  kill -SIGINT 5902

Josh

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

Предыдущее
От: Jon Nelson
Дата:
Сообщение: Re: Update problem on large table
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: Update problem on large table