pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paulo Scardine <paulos@cimed.ind.br>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Killing the backend to cancel a long waiting query
Date: Thu, 18 Sep 2003 15:54:10 -0400
Message-ID: <1850.1063914850@sss.pgh.pa.us> (raw)
In-Reply-To: <003701c37e19$d36687a0$6101a8c0@Paulo>
References: <Pine.LNX.4.33.0309161858470.30978-100000@leary.csoft.net>
	<2054.1063808792@sss.pgh.pa.us>
	<3F69A6DE.1050002@bigfoot.com>
	<007701c37e0f$4fc1b550$6101a8c0@Paulo>
	<1469.1063912128@sss.pgh.pa.us>
	<003701c37e19$d36687a0$6101a8c0@Paulo>

"Paulo Scardine" <paulos@cimed.ind.br> 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



view thread (11+ messages)  latest in thread

Message-ID: <1850.1063914850@sss.pgh.pa.us>
Permalink:  ../1850.1063914850@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1850.1063914850@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paulos@cimed.ind.br, pgsql-hackers@postgresql.org
  Subject: Re: Killing the backend to cancel a long waiting query
  In-Reply-To: <1850.1063914850@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox