Re: data volume resizing and large objects

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: data volume resizing and large objects
Date: 2008-01-04 20:42:30
Message-ID: 22447.1199479350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu> writes:
> lo_creat fails with:
> ERROR: large object <oid> already exists

Well, does it?

What PG version is this? I'm suspicious that it's pre-8.1 and the
problem is that your OID counter has wrapped around to a region that
is already pretty densely populated with large objects. 8.1 and up
are able to pick unused OIDs but earlier versions just fail on
collisions.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-04 21:11:40 Re: [OT] Slony (initial) Replication - Slow
Previous Message Tom Lane 2008-01-04 20:36:14 Re: Concurrent modification of plpgsql function body