Re: Database corrupted

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Yann ROBIN <me(dot)show(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Database corrupted
Date: 2011-12-05 20:53:52
Message-ID: 4079.1323118432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> On Mon, Dec 5, 2011 at 1:18 PM, Yann ROBIN <me(dot)show(at)gmail(dot)com> wrote:
>> kill -9 of the writer process

> Are you sure you killed all the postgres backends before restarting
> the server? If other backends are still running, with a dead
> postmaster, and you restart the server, instant corruption.

There are interlocks against that ... although if you were foolish
enough to manually remove postmaster.pid, you could defeat them :-(

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Yann ROBIN 2011-12-05 20:59:03 Re: Database corrupted
Previous Message Kevin Grittner 2011-12-05 20:46:00 Re: Database corrupted