pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas F. O'Connell <tfo@sitening.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Invalid Page Headers
Date: Tue, 18 Apr 2006 15:57:55 -0400
Message-ID: <18515.1145390275@sss.pgh.pa.us> (raw)
In-Reply-To: <C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com>
References: <B8F30540-C0A5-4CF7-8DB2-867DFF25E58D@sitening.com>
	<A8661BBC-FC31-4AA1-BA22-6FAC15B32D74@sitening.com>
	<17920.1145387726@sss.pgh.pa.us>
	<C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com>

"Thomas F. O'Connell" <tfo@sitening.com> writes:
> In the meantime, should I leave the database online while I attempt  
> to recover? It's still unclear to me whether postgres will restart  
> with invalid page headers. I certainly can't run pg_dumpall, for  
> instance.

Has the database successfully checkpointed since the last error
occurrence?  If so, I wouldn't foresee any problem with a shutdown.
If checkpoints are failing then you probably won't be able to shut
down without getting the same error.  (Use pg_controldata if you're
not sure about when the last checkpoint happened.)

> I'm glad that there have so far been only 3 relations affected... :(

You mean, three that you know about :-(

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <18515.1145390275@sss.pgh.pa.us>
Permalink:  ../18515.1145390275@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18515.1145390275@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 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: tgl@sss.pgh.pa.us, tfo@sitening.com
  Subject: Re: Invalid Page Headers
  In-Reply-To: <18515.1145390275@sss.pgh.pa.us>
  References: <B8F30540-C0A5-4CF7-8DB2-867DFF25E58D@sitening.com> <A8661BBC-FC31-4AA1-BA22-6FAC15B32D74@sitening.com> <17920.1145387726@sss.pgh.pa.us> <C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com> <18515.1145390275@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