X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7B447D1B514 for ; Thu, 18 Sep 2003 19:54:22 +0000 (GMT) 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 26931-10 for ; Thu, 18 Sep 2003 16:54:13 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 75028D1B515 for ; Thu, 18 Sep 2003 16:54:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8IJsAiP001851; Thu, 18 Sep 2003 15:54:10 -0400 (EDT) To: "Paulo Scardine" Cc: pgsql-hackers@postgresql.org Subject: Re: Killing the backend to cancel a long waiting query In-reply-to: <003701c37e19$d36687a0$6101a8c0@Paulo> References: <2054.1063808792@sss.pgh.pa.us> <3F69A6DE.1050002@bigfoot.com> <007701c37e0f$4fc1b550$6101a8c0@Paulo> <1469.1063912128@sss.pgh.pa.us> <003701c37e19$d36687a0$6101a8c0@Paulo> Comments: In-reply-to "Paulo Scardine" message dated "Thu, 18 Sep 2003 16:19:48 -0300" Date: Thu, 18 Sep 2003 15:54:10 -0400 Message-ID: <1850.1063914850@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/1026 X-Sequence-Number: 44038 "Paulo Scardine" writes: >> I trust when you say "kill", you really mean "send SIGINT" ... > I'm sending a SIGTERM. Would SIGINT be more appropriate? Yes --- that would actually cancel the query, not cause the backend to shut down. regards, tom lane