Re: Re: pg_ctl default shutdown mode - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: pg_ctl default shutdown mode
Date
Msg-id 200102101706.MAA03484@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: pg_ctl default shutdown mode  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> So, how to resolve that conflict?  I think it's better for the script
> default to cater to the manual-invocation case, because you're more
> likely to forget to add the switch when you're entering the command by
> hand.  When pg_ctl is invoked from a system shutdown script, you only
> have to get it right once, and then the script remembers for you ;-).
> 
> In short: I agree with Hiroshi on this one.  Let's leave the script
> default at 'smart' shutdown, and make it clear in the documentation
> that "-mode fast" is the best way to invoke it from a system-shutdown
> script.

Agreed.  Default to the best mode for manual usage.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] Fix for ODBC close
Next
From: Bruce Momjian
Date:
Subject: New setval() call