Re: pg_dump: schema with OID 145167 does not exist

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-admin(at)postgresql(dot)org>, "Paul Wouters" <paul(dot)wouters(at)resilion(dot)be>
Subject: Re: pg_dump: schema with OID 145167 does not exist
Date: 2012-03-22 15:49:18
Message-ID: 4F6B03AE02000025000465D5@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Paul Wouters" <paul(dot)wouters(at)resilion(dot)be> wrote:

> We have some problems using pg_dump. We get the following error:
>
> pg_dump: schema with OID 145167 does not exist

Make sure you have a copy of the entire PostgreSQL data directory
tree before trying to fix corruption.

> In the table pg_depend I have also e reference to 124208
>
> Can I Also remove that dependency?

You might need to delete those, after making that backup.

> We are using the 8.2.5 version of PG.

For starters you should upgrade to the last version of the
now-out-of-support 8.2 release. After getting past the immediate
issue with the dump, you should look at upgrading to a supported
release.

www.postgresql.org/support/versioning/

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2012-03-22 17:10:58 Re: postgresql91-devel no include [pg_config] ??
Previous Message Kevin Grittner 2012-03-22 15:39:53 Re: german sort is wrong