Re: restarting after power outage

Поиск
Список
Период
Сортировка
Искать
От
Jon Lapham
Тема
Re: restarting after power outage
Дата
Msg-id
426FE025.8070603@jandr.org
Ответ на
Список
Дерево обсуждения
restarting after power outage Jon Lapham <lapham@jandr.org>
Re: restarting after power outage Tom Lane <tgl@sss.pgh.pa.us>
Re: restarting after power outage Jon Lapham <lapham@jandr.org>
Re: restarting after power outage Tom Lane <tgl@sss.pgh.pa.us>
Re: restarting after power outage Jon Lapham <lapham@jandr.org>
Re: restarting after power outage Doug McNaught <doug@mcnaught.org>
Re: restarting after power outage Philip Hallstrom <postgresql@philip.pjkh.com>
Re: restarting after power outage Tom Lane <tgl@sss.pgh.pa.us>
Re: restarting after power outage "Uwe C. Schroeder" <uwe@oss4u.com>
Re: restarting after power outage Doug McNaught <doug@mcnaught.org>
Re: restarting after power outage "Uwe C. Schroeder" <uwe@oss4u.com>
Re: restarting after power outage Peter Wiersig <peter@friesenpeter.de>
Tom Lane wrote:
> Jon Lapham  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                  Rio de Janeiro, Brasil
  Personal: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Doug McNaught
Дата:
FAQ