pg_ctl default shutdown mode
| От | Peter Eisentraut |
|---|---|
| Тема | pg_ctl default shutdown mode |
| Дата | |
| Msg-id | Pine.LNX.4.30.0102081739080.1362-100000@peter.localdomain обсуждение исходный текст |
| Ответы |
Re: pg_ctl default shutdown mode
|
| Список | pgsql-hackers |
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 по дате отправления: