pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Marc Herbert <Marc.Herbert@emicnetworks.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getObject(<oid>) returns integer instead of LargeObject
Date: Fri, 22 Jul 2005 13:41:19 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0507221340260.3242@leary.csoft.net> (raw)
In-Reply-To: <20050722135640.GM7394@emicnetworks.com>
References: <20050722135640.GM7394@emicnetworks.com>



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



view thread (4+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0507221340260.3242@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0507221340260.3242@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0507221340260.3242@leary.csoft.net

 · 

reply

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: books@ejurka.com, Marc.Herbert@emicnetworks.com
  Subject: Re: getObject(<oid>) returns integer instead of LargeObject
  In-Reply-To: <Pine.BSO.4.56.0507221340260.3242@leary.csoft.net>
  References: <20050722135640.GM7394@emicnetworks.com> <Pine.BSO.4.56.0507221340260.3242@leary.csoft.net>

* 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