Re: LargeObject API and OIDs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Niles <christian(at)unit12(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: LargeObject API and OIDs
Date: 2004-10-25 14:28:00
Message-ID: 18427.1098714480@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Christian Niles <christian(at)unit12(dot)net> writes:
> On Oct 24, 2004, at 4:26 PM, Tom Lane wrote:
>> ... Something involving a bigint identifier
>> would work better.

> If i understand correctly, you're implying here using a table that
> mimics the pg_largeobject table, but uses int/bigint identifiers
> instead of OID.

I was thinking of just a bigint primary key and a bytea data field.
You would of course have to fool with the bytea value instead of using
the LargeObject API; dunno how inconvenient this is for you.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christian Niles 2004-10-25 15:20:45 Re: LargeObject API and OIDs
Previous Message Christian Niles 2004-10-25 14:03:09 Re: LargeObject API and OIDs