Re: Killing a session in windows

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Howard Cole <howardnews(at)selestial(dot)com>, 'PgSql General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: Killing a session in windows
Date: 2007-12-12 08:55:13
Message-ID: 20071212085513.GC11269@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 11, 2007 at 05:50:46PM -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2007-12-12 08:55:24 Re: Slow PITR restore
Previous Message Peter Childs 2007-12-12 08:45:23 Re: Hijack!