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 AF0D83A4F2C for ; Fri, 7 Jan 2005 21:45:12 +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 14102-04 for ; Fri, 7 Jan 2005 21:45:01 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A303B3A4302 for ; Fri, 7 Jan 2005 21:45:05 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Cn1uo-00070F-00; Sat, 08 Jan 2005 10:45:02 +1300 Message-ID: <41DF02DB.9060707@opencloud.com> Date: Sat, 08 Jan 2005 10:44:59 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Hallgren Cc: pgsql-jdbc@postgresql.org Subject: Re: BLOBs etc References: <41DDFC46.1080807@upb.de> <41DE0680.4030103@upb.de> <41DE0D9B.7050104@upb.de> <41DE1C70.604@upb.de> <41DE425C.9090601@mailblocks.com> In-Reply-To: <41DE425C.9090601@mailblocks.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/53 X-Sequence-Number: 11933 Thomas Hallgren wrote: > Kris Jurka wrote: > >> 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. >> > Why? After all, both types represent a sequence of bytes so it's not > really doing a conversion. It's just allowing multiple ways of accessing > it. The "different ways" involve different transaction semantics. You can't currently deal with LOBs when autocommit is on. How would you deal with that? -O