Re: Cancel/Kill backend functions

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Cancel/Kill backend functions
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BA8B@algol.sollentuna.se
обсуждение исходный текст
Ответ на Cancel/Kill backend functions  ("Magnus Hagander" <mha@sollentuna.net>)
Список 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 по дате отправления:

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: Build problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Tuple sampling