From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | eromain(at)patriot(dot)net |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Error Migrating From 7.4 to 8.2.5 |
Date: | 2007-11-05 15:42:06 |
Message-ID: | 20269.1194277326@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
eromain(at)patriot(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Koczan | 2007-11-05 17:32:50 | Re: Postgresql pg_dumpall |
Previous Message | Tom Lane | 2007-11-05 13:57:44 | Re: Database size with large objects |