Re: how to cancel a query ?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: a(dot)schmitz(at)cityweb(dot)de, pgsql-admin(at)postgresql(dot)org
Subject: Re: how to cancel a query ?
Date: 2002-12-04 18:27:07
Message-ID: 200212041827.gB4IR7S07403@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane wrote:
> Andreas Schmitz <a(dot)schmitz(at)cityweb(dot)de> writes:
> > ist there any way to cancel a user query as dba ?
>
> Send a SIGINT to the backend process running that query, eg
>
> kill -INT <pid>
>
> This has the same effect as a user-requested cancel (eg ^C in psql).

And finally documented in 7.3. ;-)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jack Flak 2002-12-04 18:55:07 Re: Disabling triggers on a relation.
Previous Message Bruce Momjian 2002-12-04 18:23:40 Re: how to alter sequence.