Comment 6 for bug 154012

Revision history for this message
Decibel (decibel) wrote : Re: [Bug 154012] Re: pg_ctlcluster uses stop immediate on it's own

On Nov 12, 2007, at 2:58 AM, Martin Pitt wrote:
> Decibel [2007-11-11 17:51 -0000]:
>> So --force would do an immediate shutdown then?
>
> No, in the current implementation it uses 'fast', and only if that
> fails, uses 'immediate'.

I don't see what that buys us. If a fast shutdown fails, that means
there's something seriously wrong, and the administrator should be
given the chance to investigate. They can then issue a kill -9.

What if the script printed out an appropriate sudo kill -9 $PID if
fast shutdown failed?
--
Decibel!, aka Jim C. Nasby, Database Architect <email address hidden>
Give your computer some brain candy! www.distributed.net Team #1828