Re: Re: pg_ctl default shutdown mode

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: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: pg_ctl default shutdown mode
Date: 2001-02-10 17:06:31
Message-ID: 200102101706.MAA03484@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 17:17:13 Re: Re: [PATCHES] Fix for ODBC close
Previous Message Peter Eisentraut 2001-02-10 17:03:34 Re: Re: [PATCHES] Fix for ODBC close