pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall 8.1.4 large objects error
Date: Tue, 06 Jun 2006 23:16:56 -0400
Message-ID: <25292.1149650216@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0606061826420.23923@discord.home.frostconsultingllc.com>
References: <Pine.LNX.4.64.0606061826420.23923@discord.home.frostconsultingllc.com>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> I'm curious why this would happen:
> pg_dump: dumpBlobs(): could not open large object: ERROR:  inv_open: large 
> object 145391 not found

Some cursory trawling in the REL7_3 sources says that this means that 
"SELECT DISTINCT loid FROM pg_largeobject" found a large object OID
that then could not be found by an indexscan of pg_largeobject.  So
I'd try a REINDEX of pg_largeobject to see if that fixes it.  See the
REINDEX man page concerning hoops you have to jump through to reindex
a system catalog --- IIRC, the hoops are much higher and narrower back
in 7.3.

> The db being dumped is 7.3.2

Of course, I'm reading 7.3.15 sources ...

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <25292.1149650216@sss.pgh.pa.us>
Permalink:  ../25292.1149650216@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25292.1149650216@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com
  Subject: Re: pg_dumpall 8.1.4 large objects error
  In-Reply-To: <25292.1149650216@sss.pgh.pa.us>
  References: <Pine.LNX.4.64.0606061826420.23923@discord.home.frostconsultingllc.com> <25292.1149650216@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox