Thread: wait_seconds in pg_ctl

wait_seconds in pg_ctl

From
"muteki"
Date:
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

From
Bruce Momjian
Date:
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