Re: Urgent! - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Urgent!
Date
Msg-id 1129220484.29961.191.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Urgent!  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Urgent!
List pgsql-admin
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.



pgsql-admin by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: DB Cluster hanging
Next
From: Bruce Momjian
Date:
Subject: Re: Urgent!