Обсуждение: wait_seconds in pg_ctl

Поиск
Список
Период
Сортировка

wait_seconds in pg_ctl

От
"muteki"
Дата:
Hi,

I would like to know is the wait_seconds inside the pg_ctl script changable?
If not, do you know what would happen if someone changed it from 60 sec to 7
sec?  I found that my configuration has been changed by someone else in
order to shorten the shutdown wait time.  But I am guessing there is some
fundamental reasoning for the default values (60sec) and would like to know
what's the side effect if this has been modified.

Thanks,

--muteki

Re: wait_seconds in pg_ctl

От
Bruce Momjian
Дата:
muteki wrote:
> Hi,
>
> I would like to know is the wait_seconds inside the pg_ctl script changable?
> If not, do you know what would happen if someone changed it from 60 sec to 7
> sec?  I found that my configuration has been changed by someone else in
> order to shorten the shutdown wait time.  But I am guessing there is some
> fundamental reasoning for the default values (60sec) and would like to know
> what's the side effect if this has been modified.

I can't think of any major side effect of reducing it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073