Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Yann ROBINDate: 2011-12-05 20:59:03
Subject: Re: Database corrupted
Previous:From: Kevin GrittnerDate: 2011-12-05 20:46:00
Subject: Re: Database corrupted

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group