Re: bug - Mailing list pgsql-bugs

From Chris
Subject Re: bug
Date
Msg-id 3A424DD9.A23562C5@libertysurf.fr
Whole thread Raw
In response to bug  (Sandeep Joshi <sjoshi@Zambeel.com>)
List 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 by date:

Previous
From: Chris
Date:
Subject: Re: Problem with apostrophes in TK frontend
Next
From: Bruce Momjian
Date:
Subject: Re: postgresql process crashes on select * from cmd_sm (which is a view)