From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christian Niles <christian@unit12.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: LargeObject API and OIDs
Date: Mon, 25 Oct 2004 10:28:00 -0400
Message-ID: <18427.1098714480@sss.pgh.pa.us> (raw)
In-Reply-To: <9A32C02E-268E-11D9-89C4-000A9590B78E@unit12.net>
References: <ED2AAA08-25E2-11D9-AD96-000A9590B78E@unit12.net>
<17821.1098649614@sss.pgh.pa.us>
<9A32C02E-268E-11D9-89C4-000A9590B78E@unit12.net>
Christian Niles <christian@unit12.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
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-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, christian@unit12.net
Subject: Re: LargeObject API and OIDs
In-Reply-To: <18427.1098714480@sss.pgh.pa.us>
References: <ED2AAA08-25E2-11D9-AD96-000A9590B78E@unit12.net> <17821.1098649614@sss.pgh.pa.us> <9A32C02E-268E-11D9-89C4-000A9590B78E@unit12.net> <18427.1098714480@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