From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Josh Berkus <josh(at)agliodbs(dot)com>, Magnus Hagander <mha(at)sollentuna(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Function to kill backend |
Date: | 2004-07-24 22:55:33 |
Message-ID: | 200407242255.i6OMtXo26019@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-07-24 23:48:29 | Sketch of extending error handling for subtransactions in functions |
Previous Message | Tom Lane | 2004-07-24 22:51:01 | Re: [HACKERS] Function to kill backend |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-24 22:55:58 | Re: logfile subprocess and Fancy File Functions |
Previous Message | Tom Lane | 2004-07-24 22:51:01 | Re: [HACKERS] Function to kill backend |