Re: Default mode for shutdown

Kenneth Marshall <ktm@rice.edu>

From: Kenneth Marshall <ktm@rice.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-15T14:45:06Z
Lists: pgsql-hackers
On Wed, Dec 15, 2010 at 09:39:12AM -0500, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > I'm sure this has been up before, but hey, let's take it another round.
> > Why don't we change the default shutdown mode for pg_ctl from "smart"
> > to "fast"? I've never come across a single usecase where "smart" is
> > what people *want*...
> 
> Really?  Personally I'm quite happy with that default.
> 
> 			regards, tom lane
> 
+1

I think the default is perfect. Even if the usecase that is wanted
is "fast", it should be requested each time to verify that a more
destructive shutdown is wanted. If it is really an issue, a script
or shell alias can be defined to perform the more aggressive
shutdown processes.

Regards,
Ken