X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 74BE13A4E34 for ; Fri, 7 Jan 2005 05:33:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65345-05 for ; Fri, 7 Jan 2005 05:33:37 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id B5B8C3A4B07 for ; Fri, 7 Jan 2005 05:33:35 +0000 (GMT) Received: (qmail 11658 invoked by uid 1112); 7 Jan 2005 05:36:09 -0000 Date: Fri, 7 Jan 2005 00:36:09 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: =?ISO-8859-15?Q?Sven_K=F6hler?= Cc: pgsql-jdbc@postgresql.org Subject: Re: BLOBs etc In-Reply-To: <41DE1C70.604@upb.de> Message-ID: References: <41DDFC46.1080807@upb.de> <41DE0680.4030103@upb.de> <41DE0D9B.7050104@upb.de> <41DE1C70.604@upb.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.02 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/40 X-Sequence-Number: 11920 On Fri, 7 Jan 2005, [ISO-8859-15] Sven K=F6hler wrote: > But still the postgresql server could accept the data generated by the=20 > JDBC-driver's "setBinaryStream()" even for oid columns. Isn't that the=20 > 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= =20 differently and each have significant strengths/weaknesses. Other=20 databases don't have this predicament. If we only had one or one was=20 clearly superior or they used a remotely similar API we'd be set. Kris Jurka