Re: [GENERAL] how to cancel a request in progress ? - Mailing list pgsql-general

From Simon Drabble
Subject Re: [GENERAL] how to cancel a request in progress ?
Date
Msg-id Pine.LNX.3.96.990525131909.27445A-100000@dragon
Whole thread Raw
In response to Re: [GENERAL] how to cancel a request in progress ?  ("Michael A. Koerber" <mak@ll.mit.edu>)
List pgsql-general
On Tue, 24 May 1999, Michael A. Koerber wrote:

> It isn't pretty, but as 'su' or 'postgres' you can kill the the "postmaster pid".
> However, you may have to clean up 'junk files' left in the data base.  Don't do
> this except as a last resort.
>
> mike
>
> --
> -------------------------------------------------------
> It said use Windows 95 or better, so I installed Linux!
> --
> Dr Michael A. Koerber
> MIT/Lincoln Laboratory
> 781-981-3250
> -------------------------------------------------------
>

Hmmm. Sledgehammer, this is nut. Nut, meet sledgehammer. :)

Jonathan found the optimal solution - PQrequestCancel() from within the app.

Simon.




--
  "The world will end at Dec 31 1999 23:59:59. Please save your work and log
   off before then or risk losing your data."

   Simon Drabble                      Somewhere in cyberspace
   simond@foxlink.net



pgsql-general by date:

Previous
From: "Michael A. Koerber"
Date:
Subject: Re: [GENERAL] how to cancel a request in progress ?
Next
From: Adrian Urquhart
Date:
Subject: Can't compile under Solaris 7/x86