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 7AF2F3A3BAC for ; Fri, 7 Jan 2005 11:21:47 +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 32626-10 for ; Fri, 7 Jan 2005 11:21:31 +0000 (GMT) Received: from www.postgresql.com (unknown [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id BF4703A4B3C for ; Fri, 7 Jan 2005 11:21:13 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by www.postgresql.com (Postfix) with ESMTP id ED89C739DE7 for ; Fri, 7 Jan 2005 08:09:00 +0000 (GMT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Cmp6G-0003Ka-00 for ; Fri, 07 Jan 2005 09:04:00 +0100 Received: from 1-1-2-48a.rny.sth.bostream.se ([82.182.133.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jan 2005 09:04:00 +0100 Received: from thhal by 1-1-2-48a.rny.sth.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jan 2005 09:04:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Hallgren Subject: Re: BLOBs etc Date: Fri, 07 Jan 2005 09:03:40 +0100 Lines: 16 Message-ID: <41DE425C.9090601@mailblocks.com> 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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 1-1-2-48a.rny.sth.bostream.se User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.163 tagged_above=0 required=5 tests=AWL, DNS_FROM_AHBL_RHSBL X-Spam-Level: X-Archive-Number: 200501/43 X-Sequence-Number: 11923 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. I'm not sure it would be that much work to actaully make the server accept both "by value" and "by stream" semantics for both types. Implemented correctly, all clients (not just JDBC) could benefit. Regards, Thomas Hallgren