Re: [HACKERS] Function to kill backend
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Function to kill backend |
Дата | |
Msg-id | 200407242255.i6OMtXo26019@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Function to kill backend (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-patches |
Tom Lane wrote: > 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 ... Well, seems you have enough reason to suspect this code, and being so near to beta I think we can remove it and come back to it later if people still want it. I remember the "cancel" being the key feature, and termination was more of a "nice have" item. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: