X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 77975475C5F for ; Thu, 20 Feb 2003 14:35:29 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 80212-03 for ; Thu, 20 Feb 2003 14:35:18 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id 7B1B8475D17 for ; Thu, 20 Feb 2003 14:30:06 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h1KJvC6P007564; Thu, 20 Feb 2003 14:57:14 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h1KJU1p14677; Thu, 20 Feb 2003 14:30:01 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id CWVL15VZ; Thu, 20 Feb 2003 14:29:46 -0500 Subject: Re: dumpBlobs(): could not open large object: ERROR: From: Robert Treat To: Tim Lynch Cc: pgsql-admin@postgresql.org In-Reply-To: <05c701c2d849$6d2b6d50$2c0210ac@loisaida> References: <05c701c2d849$6d2b6d50$2c0210ac@loisaida> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 20 Feb 2003 14:30:00 -0500 Message-Id: <1045769400.14509.17.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/338 X-Sequence-Number: 7536 It sounds like your binary files may have been deleted. The output of \lo_list in psql should tell you what valid large objects you have. Robert Treat On Wed, 2003-02-19 at 14:02, Tim Lynch wrote: > version(): PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96 > redhat 7.3 > > i've made a backup script, the meat and potatos of which are: > > /usr/bin/pg_dump -Fc --blobs -f $dumpdir/$file $dbname > > had been working, but recently: > pg_dump: dumpBlobs(): could not open large object: ERROR: inv_open: large > object 23312462 not found > > for a variety of oids, not NULL or oid 0; over the last few days: 23170697 > 23208208 23240773 23312462 23318306 23356032 23356728 23495969 23554296 > 23578064 > > vacuums okay. > > is this from deleting large objects without deleting the oid in a table or > vice versa? pgdump exits non-zero which i guess means the backup is > incomplete. > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)