Re: restarting after power outage
От | Jon Lapham |
---|---|
Тема | Re: restarting after power outage |
Дата | |
Msg-id | 426FE025.8070603@jandr.org обсуждение исходный текст |
Ответ на | Re: restarting after power outage (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-general |
Tom Lane wrote: > Jon Lapham <lapham@jandr.org> writes: >>So, then it would be correct to change my init scripts to do the >>following: (if so, this patch can be applied to the 7.4 branch) > > I would recommend strongly AGAINST that, because what you just did was > remove the defense against starting two postmasters concurrently in the > same data directory (which would be a disaster of the first magnitude). > This is not a problem for bootup of course, but if you ever use this > script to start the postmaster by hand, then you are playing with fire. I figured there must be more to it... > If you want a solution in the 7.4 branch, I have back-patched the > 8.0.2 fix into the latest Fedora Core 3 RPMs (7.4.7-5.FC3.1). Nice, thanks. -- -**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*--- Jon Lapham <lapham@jandr.org> Rio de Janeiro, Brasil Personal: http://www.jandr.org/ ***-*--*----*-------*------------*--------------------*---------------
В списке pgsql-general по дате отправления: