pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: eromain@patriot.net
Cc: pgsql-admin@postgresql.org
Subject: Re: Error Migrating From 7.4 to 8.2.5
Date: Mon, 05 Nov 2007 10:42:06 -0500
Message-ID: <20269.1194277326@sss.pgh.pa.us> (raw)
In-Reply-To: <65196.164.214.4.62.1194275734.squirrel@www.patriot.net>
References: <64187.164.214.4.62.1194262856.squirrel@www.patriot.net>
	<17893.1194269190@sss.pgh.pa.us>
	<65196.164.214.4.62.1194275734.squirrel@www.patriot.net>

eromain@patriot.net writes:
>> Hmmm ... in 7.4 16408 is pg_statistic, which fortunately for you is all
>> easily-regenerated data.  I'd try "DELETE FROM pg_statistic".

> Deleting from pg_statistic produced error: xlog flush request 58/A0AFB340
> is not satisfied --- flushed only to 5/B2004628
> CONTEXT:  writing block 3 of relation 21182403/16408

Ugh ... it's troubling that you have this on several different pages;
that makes it more probable that the corruption extends beyond
pg_statistic.  Anyway, the next thing to try is manually truncating the
file to zero length (while the postmaster is stopped).  Check the
database OID, then it should be $PGDATA/base/DBOID/16408.

> I am running just 7.4. Thanks!!

Yikes.  The current release in that branch is 7.4.18, and practically
every one of those 18 updates fixed significant bugs.

			regards, tom lane



view thread (3+ messages)

Message-ID: <20269.1194277326@sss.pgh.pa.us>
Permalink:  ../20269.1194277326@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20269.1194277326@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, eromain@patriot.net
  Subject: Re: Error Migrating From 7.4 to 8.2.5
  In-Reply-To: <20269.1194277326@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