pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: codeWarrior <gpatnude@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Urgent!
Date: Thu, 13 Oct 2005 11:21:24 -0500
Message-ID: <1129220484.29961.191.camel@state.g2switchworks.com> (raw)
In-Reply-To: <200510131556.j9DFumT03567@candle.pha.pa.us>
References: <200510131556.j9DFumT03567@candle.pha.pa.us>

On Thu, 2005-10-13 at 10:56, Bruce Momjian wrote:
> codeWarrior wrote:
> > Lookas as if you've managed to turn off your computer mid-transaction 
> > thereby corrupting the postgreSQL commit logs (pg_clog)...
> > 
> > You should never just turn off a database server... always shut it down 
> > normally... Turning it off was a major mistake. I dont know if you can 
> > recover or not as the system (postgreSQL) now thinks it is in the middle of 
> > a transaction...
> 
> PostgreSQL should never get corrupted by turning off the server.  It
> isn't ideal to do that, but it should not get corrupted.

Unless it is installed on hardware that lies about fsync.

Which almost all ATA drives, parallel and serial, do, sadly.





view thread (11+ messages)  latest in thread

Message-ID: <1129220484.29961.191.camel@state.g2switchworks.com>
Permalink:  ../1129220484.29961.191.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1129220484.29961.191.camel@state.g2switchworks.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, pgman@candle.pha.pa.us, gpatnude@hotmail.com
  Subject: Re: Urgent!
  In-Reply-To: <1129220484.29961.191.camel@state.g2switchworks.com>
  References: <200510131556.j9DFumT03567@candle.pha.pa.us> <1129220484.29961.191.camel@state.g2switchworks.com>

* 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