| От | Chris |
|---|---|
| Тема | Re: bug |
| Дата | |
| Msg-id | 3A424DD9.A23562C5@libertysurf.fr обсуждение |
| Ответ на | bug (Sandeep Joshi <sjoshi@Zambeel.com>) |
| Список | pgsql-bugs |
Sandeep Joshi wrote: > 1. If I kill postmaster then if I try to restart then I get errors > saying it is > already running. > > pg_ctl start > ps auxww | grep postmaster > kill -9 $pid > pg_ctl start > It is clearly written in the docs that a server MUST NOT be killed with SIGKILL, because there's a risk of loosing datas. If you want to kill the server, use 'kill $pid' (or if you really want to specify a signal, use SIGTERM: number 15) FYI, the signal 9 kills an app without giving her an info, so the server cannot exit cleanly. The signal 15 was then defined in that way : is asks the app to terminate. hope this helped you...
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера