Re: Cancel/Kill backend functions - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Cancel/Kill backend functions
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BA8B@algol.sollentuna.se
Whole thread Raw
In response to Cancel/Kill backend functions  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
>> The other thought is that you're not going to have much use
>of this if
>> you don't have pgstat anyway - how are you going to find out which
>> backends actually exist?
>
>Uh, what about ps(1)?

Well, if you ran run ps(1), then you can probably run kill(1) too. The
main point of this patch was to be able to do it remotely. Now that I
think of it, there are probably a bunch of times when you can see the
process information with ps but can't kill(1) it.

With this point and others, I will update the patch to use the other
method to determine if a PID is actualy a backend.

//Magnus

pgsql-patches by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Build problems
Next
From: Tom Lane
Date:
Subject: Re: Tuple sampling