Re: Upgrading postgresql-8.4 - Mailing list pgsql-general

From Tom Lane
Subject Re: Upgrading postgresql-8.4
Date
Msg-id 21069.1363024018@sss.pgh.pa.us
Whole thread Raw
In response to Re: Upgrading postgresql-8.4  (Steve Erickson <serickson@digitiliti.com>)
Responses Re: Upgrading postgresql-8.4
List pgsql-general
Steve Erickson <serickson@digitiliti.com> writes:
> Thanks for the reply.  I deleted all rows in pg_statistic and the VACUUM ANALYZE on pg_attribute still fails.

You would probably need to actually truncate pg_statistic (in a
standalone backend) to make that safe.  If you only want to use DELETE,
I'd try just pg_dump at this point rather than trying to make the
database fully usable again.

> I tried to reindex pg_toast_2619 and got an error "could not access status of transaction 1493786085.  Could not open
file"pg_subtrans/5909": No such file or directory.  Sure enough, there is no such file - only 5905.   

This suggests that your problems are larger than you've indicated so
far.  What happened to this machine anyway?

            regards, tom lane


pgsql-general by date:

Previous
From: Steve Erickson
Date:
Subject: Re: Upgrading postgresql-8.4
Next
From: Jerry Sievers
Date:
Subject: Re: restoring to different architecture with WAL