pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Sven Köhler <skoehler@upb.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BLOBs etc
Date: Fri, 7 Jan 2005 00:36:09 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0501070029280.743@leary.csoft.net> (raw)
In-Reply-To: <41DE1C70.604@upb.de>
References: <crkrbc$t8c$1@sea.gmane.org>
	<Pine.BSO.4.56.0501062135090.10098@leary.csoft.net>
	<41DDFC46.1080807@upb.de>
	<Pine.BSO.4.56.0501062211370.25172@leary.csoft.net>
	<41DE0680.4030103@upb.de>
	<Pine.BSO.4.56.0501062258280.6327@leary.csoft.net>
	<41DE0D9B.7050104@upb.de>
	<Pine.BSO.4.56.0501062328590.14356@leary.csoft.net>
	<41DE1C70.604@upb.de>



On Fri, 7 Jan 2005, [ISO-8859-15] Sven Köhler wrote:

> But still the postgresql server could accept the data generated by the 
> JDBC-driver's "setBinaryStream()" even for oid columns. Isn't that the 
> missing piece to make set/getBinaryStream() methods work for oid columns?

That would work, but it's not going to happen.  Setting up and using a
large object is completely different than just stashing data in a bytea
field.  Convincing the server to do simple conversions is difficult
enough, getting it to do something of this magnitude is out of the
question.

> Is it known how other JDBC drivers handle this problems?

The real problem here is that pg has two binary data types that work quite 
differently and each have significant strengths/weaknesses.  Other 
databases don't have this predicament.  If we only had one or one was 
clearly superior or they used a remotely similar API we'd be set.

Kris Jurka



view thread (23+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0501070029280.743@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0501070029280.743@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0501070029280.743@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, skoehler@upb.de
  Subject: Re: BLOBs etc
  In-Reply-To: <Pine.BSO.4.56.0501070029280.743@leary.csoft.net>
  References: <crkrbc$t8c$1@sea.gmane.org> <Pine.BSO.4.56.0501062135090.10098@leary.csoft.net> <41DDFC46.1080807@upb.de> <Pine.BSO.4.56.0501062211370.25172@leary.csoft.net> <41DE0680.4030103@upb.de> <Pine.BSO.4.56.0501062258280.6327@leary.csoft.net> <41DE0D9B.7050104@upb.de> <Pine.BSO.4.56.0501062328590.14356@leary.csoft.net> <41DE1C70.604@upb.de> <Pine.BSO.4.56.0501070029280.743@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