X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 02B8DD1B8AC for ; Wed, 27 Aug 2003 12:34:27 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 40261-02 for ; Wed, 27 Aug 2003 12:33:56 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 6E74AD1B52C for ; Wed, 27 Aug 2003 12:33:55 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h7RFW8xD007222; Wed, 27 Aug 2003 09:32:09 -0600 (MDT) Date: Wed, 27 Aug 2003 09:31:12 -0600 (MDT) From: "scott.marlowe" To: daq Cc: Subject: Re: Canceling other backend's query In-Reply-To: <139312379871.20030827111223@ugyvitelszolgaltato.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-ihs-com: Found to be clean X-MailScanner-SpamCheck-ihs-com: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/324 X-Sequence-Number: 14940 On Wed, 27 Aug 2003, daq wrote: > Hi, > > Can i cancel querys runing on other backends, or disconnect a client > from the server? I can kill the backend process, but sometimes this > causing shared memory troubles. If you kill -9 a backend, you will cause the shared memory problem. Try just a plain kill . That should work without causing shared memory to dump.