pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Yann ROBIN <me.show@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database corrupted
Date: Mon, 05 Dec 2011 15:53:52 -0500
Message-ID: <4079.1323118432@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOR=d=04pU3x3mWk7dKw70Ctz5o_oBepTqEjWERwqvZJDsE8rA@mail.gmail.com>
References: <CAAhgiZ61svTSRLo0HNZ-Nw7mNXTdNyabmwCYU_eJxVRxSCT9wA@mail.gmail.com>
	<4EDCCF3A0200002500043859@gw.wicourts.gov>
	<CAAhgiZ6k+=YBPfJJZ=beRh5r_YxNeyrZEFW91CeRFbvrdcX22Q@mail.gmail.com>
	<CAOR=d=04pU3x3mWk7dKw70Ctz5o_oBepTqEjWERwqvZJDsE8rA@mail.gmail.com>

Scott Marlowe <scott.marlowe@gmail.com> writes:
> On Mon, Dec 5, 2011 at 1:18 PM, Yann ROBIN <me.show@gmail.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



view thread (8+ messages)  latest in thread

Message-ID: <4079.1323118432@sss.pgh.pa.us>
Permalink:  ../4079.1323118432@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4079.1323118432@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, me.show@gmail.com
  Subject: Re: Database corrupted
  In-Reply-To: <4079.1323118432@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox