Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B673A475EAE for ; Thu, 5 Dec 2002 07:54:56 -0500 (EST) Received: from linux012.intern.cityweb.de (linux012.intern.cityweb.de [195.71.215.252]) by postgresql.org (Postfix) with ESMTP id 9F8EF475E91 for ; Thu, 5 Dec 2002 07:54:55 -0500 (EST) Received: from zahedi.intern.cityweb.de (zahedi.intern.cityweb.de [193.189.226.198]) by linux012.intern.cityweb.de (8.11.0/8.11.0) with ESMTP id gB5CsbJ19088; Thu, 5 Dec 2002 13:54:39 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Andreas Schmitz Reply-To: a.schmitz@cityweb.de Organization: Cityweb Network To: Tom Lane , pgman@candle.pha.pa.us Subject: Re: how to cancel a query ? Date: Thu, 5 Dec 2002 13:50:44 +0100 User-Agent: KMail/1.4.1 References: <200212041547.26013.a.schmitz@cityweb.de> <14847.1039020441@sss.pgh.pa.us> In-Reply-To: <14847.1039020441@sss.pgh.pa.us> Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200212051350.44846.a.schmitz@cityweb.de> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/49 X-Sequence-Number: 6544 On Wednesday 04 December 2002 17:47, 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). > What about an implementation into the command structure ? regards -andreas -- Andreas Schmitz - Phone +49 201 8501 318 Cityweb-Technik-Service-Gesellschaft mbH Friedrichstr. 12 - Fax +49 201 8501 104 45128 Essen - email a.schmitz@cityweb.de