Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6EFAB4762C7 for ; Wed, 4 Dec 2002 13:39:27 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 969FF476AC9 for ; Wed, 4 Dec 2002 13:27:14 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gB4IR7S07403; Wed, 4 Dec 2002 13:27:07 -0500 (EST) From: Bruce Momjian Message-Id: <200212041827.gB4IR7S07403@candle.pha.pa.us> Subject: Re: how to cancel a query ? In-Reply-To: <14847.1039020441@sss.pgh.pa.us> To: Tom Lane Date: Wed, 4 Dec 2002 13:27:07 -0500 (EST) Cc: a.schmitz@cityweb.de, pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/40 X-Sequence-Number: 6535 Tom Lane wrote: > Andreas Schmitz 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 > > 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073