Re: [HACKERS] Function to kill backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Function to kill backend
Дата
Msg-id 7921.1090709461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Function to kill backend  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Function to kill backend  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, I see your point.  Can anyone remember why this was needed?  I
> remember Magnus wanted query cancel, but what was the logic for session
> termination?

I think the argument for it went along the lines of "what if you've got
a misbehaving client that continually issues expensive queries, so
canceling any one query doesn't help?"  I found this unconvincing, as
a client that obstreperous might simply reconnect and start issuing the
same queries again; so having a session-kill tool doesn't really get you
much further.  I recall being voted down though ...

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Function to kill backend
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Function to kill backend