Re: Update problem on large table

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
Cc: bricklen <bricklen(at)gmail(dot)com>, felix <crucialfelix(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Update problem on large table
Date: 2010-12-06 20:24:31
Message-ID: AANLkTinG-8DsMGp4ya4HS2ZgL13uNXuc0Gy9Ai0H_u00@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Dec 6, 2010 at 2:48 PM, Jon Nelson <jnelson+pgsql(at)jamponi(dot)net> wrote:
> On Mon, Dec 6, 2010 at 1:46 PM, bricklen <bricklen(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kenneth Marshall 2010-12-06 20:26:56 Re: Update problem on large table
Previous Message Jon Nelson 2010-12-06 19:48:47 Re: Update problem on large table