Re: Function to kill backend

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Function to kill backend
Date: 2004-04-02 22:16:26
Message-ID: 406DE63A.1090605@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:

>Hi!
>
>When debugging on win32, I've created myself a little function that I
>feel should be added to the "backend proper". While it adds a lot of
>vlaue on win32, I think it adds quite a bit of value on non-win32
>platforms as well...
>
>The function is pg_kill_backend(<pid>,<signal>). superuser-only, of
>course. Which simply sends a signal to the specified backend -
>querycancel, terminate, etc.
>
>

If' we're going to have this shouldn't it be a proper command? And maybe
an internal shutdown command to go with it?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-04-02 22:28:01 Re: Function to kill backend
Previous Message jeff.greco 2004-04-02 22:09:19 namespace dilemma