Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Error Migrating From 7.4 to 8.2.5



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group