Re: Cancel/Kill backend functions
От | Magnus Hagander |
---|---|
Тема | Re: Cancel/Kill backend functions |
Дата | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCE34BA87@algol.sollentuna.se обсуждение исходный текст |
Ответ на | Cancel/Kill backend functions ("Magnus Hagander" <mha@sollentuna.net>) |
Ответы |
Re: Cancel/Kill backend functions
Re: Cancel/Kill backend functions |
Список | pgsql-patches |
>> Per previous discussions, here are two functions to send INT and TERM >> signals to other backends.They permit only INT and TERM, and permits >> sending only to postgresql backends (as registered in pgstat). > >Why does this depend on pgstat? ISTM it would be better to use the >per-backend PGPROC information, which is stored in shared memory. >Consider TransactionIdIsInProgress() for an example. I guess the main reason is that I didn't find how to do it. With that pointer, I can probably redo it. 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? But I could certainly give it a try to recode it on that code. //Magnus
В списке pgsql-patches по дате отправления: