Re: Error Migrating From 7.4 to 8.2.5
| От | Tom Lane |
|---|---|
| Тема | Re: Error Migrating From 7.4 to 8.2.5 |
| Дата | |
| Msg-id | 20269.1194277326@sss.pgh.pa.us обсуждение |
| Ответ на | Error Migrating From 7.4 to 8.2.5 (eromain@patriot.net) |
| Список | pgsql-admin |
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
В списке pgsql-admin по дате отправления: