Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 01D614248 for ; Thu, 22 Mar 2012 12:49:42 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SAkGi-0007s7-TP for pgsql-admin@postgresql.org; Thu, 22 Mar 2012 15:49:41 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 22 Mar 2012 10:49:28 -0500 Message-Id: <4F6B03AE02000025000465D5@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Thu, 22 Mar 2012 10:49:18 -0500 From: "Kevin Grittner" To: , "Paul Wouters" Subject: Re: pg_dump: schema with OID 145167 does not exist References: <000001cd0833$5197f580$f4c7e080$@wouters@resilion.be> In-Reply-To: <000001cd0833$5197f580$f4c7e080$@wouters@resilion.be> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201203/115 X-Sequence-Number: 39303 "Paul Wouters" 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