| From: | Jon Lapham <lapham(at)jandr(dot)org> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: restarting after power outage |
| Date: | 2005-04-27 18:55:33 |
| Message-ID: | 426FE025.8070603@jandr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tom Lane wrote:
> Jon Lapham <lapham(at)jandr(dot)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(at)jandr(dot)org> Rio de Janeiro, Brasil
Personal: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Doug McNaught | 2005-04-27 19:03:50 | Re: restarting after power outage |
| Previous Message | Tom Lane | 2005-04-27 18:47:28 | Re: restarting after power outage |