Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E59B56500F6 for ; Tue, 29 Jul 2008 01:13:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 59083-06-4 for ; Tue, 29 Jul 2008 01:13:11 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by postgresql.org (Postfix) with ESMTP id 22EC564FD67 for ; Tue, 29 Jul 2008 01:10:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mx1.hub.org (Postfix) with ESMTP id 774FFB075EF for ; Tue, 29 Jul 2008 01:10:19 -0300 (ADT) Received: from [192.168.7.2] (97-118-65-166.hlrn.qwest.net [97.118.65.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail63.csoft.net (Postfix) with ESMTP id 3F32E2886B; Tue, 29 Jul 2008 00:08:36 -0400 (EDT) Message-ID: <488E97C2.8030907@ejurka.com> Date: Mon, 28 Jul 2008 22:08:34 -0600 From: Kris Jurka User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: Gustav Trede CC: pgsql-jdbc@postgresql.org Subject: Re: implementing binary datatransfers in pg jdbc References: <4889AA1B.6090802@telia.com> In-Reply-To: <4889AA1B.6090802@telia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/56 X-Sequence-Number: 18841 Gustav Trede wrote: > > Im interested in fixing "Allow binary data transfers for all datatypes > not just bytea". > where is the affected serverside code ?. > The server is already prepared to accept binary data, the change just needs to be made in the driver. The place to start is definitely with Mikko Tiihonen's patches to do this already[1] and assorted mailing list discussion. His patches already do ninety something percent of what we need. I unfortunately don't recall the exact state of the patches and what the open issues are, so the first place to start is the archives. Kris Jurka [1] http://mokki.dyndns.org/~mtiihone/postgresql/binarytransfer/