Re: restarting after power outage - Mailing list pgsql-general

From Jon Lapham
Subject Re: restarting after power outage
Date
Msg-id 426FE025.8070603@jandr.org
Whole thread Raw
In response to Re: restarting after power outage  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: restarting after power outage
Next
From: Doug McNaught
Date:
Subject: Re: restarting after power outage