Re: pg_ctl default shutdown mode
| От | Peter Eisentraut |
|---|---|
| Тема | Re: pg_ctl default shutdown mode |
| Дата | |
| Msg-id | Pine.LNX.4.30.0102100159230.1286-100000@peter.localdomain обсуждение исходный текст |
| Ответ на | pg_ctl default shutdown mode (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
RE: Re: pg_ctl default shutdown mode
|
| Список | pgsql-hackers |
Since there were no comments, I'm going to make fast shutdown the default. I wrote: > Now that waiting for shutdown is the default, it seems that the default > shutdown mode should also be one where there's a high chance of the > shutdown actually happening. As it stands, if there are connected > clients, pg_ctl will wait for 60 or so seconds before proclaiming that the > postmaster won't shut down. This is not intuitive. > > The signal is still delivered, though, so the postmaster may silently shut > down at any later time. This can cause confusion. > > While the "smart" shutdown is a cute feature, a *stop* script should > really stop the thing by default and allow the unusual behaviour to be > selected with an option. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-hackers по дате отправления: