Re: getObject(<oid>) returns integer instead of LargeObject

From: Kris Jurka <books(at)ejurka(dot)com>
To: Marc Herbert <Marc(dot)Herbert(at)emicnetworks(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getObject(<oid>) returns integer instead of LargeObject
Date: 2005-07-22 18:41:19
Message-ID: Pine.BSO.4.56.0507221340260.3242@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 22 Jul 2005, Marc Herbert wrote:

> Is there some good reason for getObject(<some oid column>) to return the
> bare oid integer instead of the actual LargeObject handle ?

This makes the assumption that the only use of oids is for large objects.
What if someone wrote SELECT oid,relname FROM pg_class?

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-07-22 18:53:47 Re: BUG #1780: JDBC driver "setNull" throws for BLOB and CLOB
Previous Message Tom Lane 2005-07-22 18:27:00 Re: Timestamp Conversion Woes Redux