Re: Killing a session in windows - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Killing a session in windows
Date
Msg-id 20071212085513.GC11269@svr2.hagander.net
Whole thread Raw
In response to Re: Killing a session in windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Killing a session in windows
List pgsql-general
On Tue, Dec 11, 2007 at 05:50:46PM -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Howard Cole wrote:
> >> I take it from the lack of response that nobody knows how to kill a
> >> connection from the postgresql side on windows?
>
> > You can't, short of sending a signal to the process or restarting the
> > service.
>
> Which you can do, no?  I thought pg_ctl's kill option was invented
> specifically to make this less painful on Windows.

It does, and it shuold work. But it's just as dangerous as using kill
directly on the backends on Unix, of course.

//Magnus

pgsql-general by date:

Previous
From: "Peter Childs"
Date:
Subject: Re: Hijack!
Next
From: Gregory Stark
Date:
Subject: Re: Slow PITR restore