Re: bug

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Chris
Дата:
Сообщение: Re: Problem with apostrophes in TK frontend
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: postgresql process crashes on select * from cmd_sm (which is a view)