Re: pg_largeobject implementation question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_largeobject implementation question
Date
Msg-id 27237.1349881441@sss.pgh.pa.us
Whole thread Raw
In response to pg_largeobject implementation question  (Scott Corscadden <scott@corscadden.ca>)
Responses Re: pg_largeobject implementation question  (Scott Corscadden <scott@corscadden.ca>)
List pgsql-hackers
Scott Corscadden <scott@corscadden.ca> writes:
> ** MY QUESTION ** - Will pg_largeobject automatically choose new OIDs that don't conflict, if I've added lo's this
way,by direct COPY?
 

In 8.4, yes.  In later versions, you'd need to do something about
creating corresponding rows in pg_largeobject_metadata.

In general, all built-in OID columns have mechanisms for choosing
nonconflicting new values --- but in 9.0 and up, pg_largeobject_metadata
is the authoritative store of "existing OIDs" for blobs, not
pg_largeobject.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Is there a good reason why PL languages do not support cstring type arguments and return values ?
Next
From: Alvaro Herrera
Date:
Subject: September 2012 commitfest