Re: Re: pg_ctl default shutdown mode
От | Bruce Momjian |
---|---|
Тема | Re: Re: pg_ctl default shutdown mode |
Дата | |
Msg-id | 200102101706.MAA03484@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Re: pg_ctl default shutdown mode (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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 по дате отправления: