Re: Function to kill backend - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Function to kill backend
Date
Msg-id 200404061541.i36FfSq19739@candle.pha.pa.us
Whole thread Raw
In response to Function to kill backend  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Function to kill backend  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> "Magnus Hagander" <mha@sollentuna.net> writes:
> > But are you saying it *is* safe with SIGTERM to a backend?
> 
> I'm saying I'm not happy about promoting that to the status of a
> supported feature.  Up to now it's always been "if it breaks you
> get to keep both pieces", but if there's a built-in function to do it
> then people will naturally expect a certain level of reliability.
> 
> Maybe it works fine, maybe it doesn't.  But I foresee having to expend
> work down the road because of this addition.

I assume admins are already doing this (via kill), so whether it is
supported or not, we should give folks a safe way to do this.  This
seems like basic functionality we should be giving admins, even if it
does take some work on our part.

--  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,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: jeff.greco@bluehavenmg.com
Date:
Subject: namespace dilemma
Next
From: Andrew Dunstan
Date:
Subject: Re: zero knowledge users