Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 416B5638233 for ; Tue, 20 Jul 2010 16:11:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 70044-04 for ; Tue, 20 Jul 2010 19:11:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from progressive.micfo.com (progressive.micfo.com [174.34.188.2]) by mail.postgresql.org (Postfix) with ESMTP id 5E721638216 for ; Tue, 20 Jul 2010 16:11:36 -0300 (ADT) Received: from 87-204-194-135.dg-net.pl ([87.204.194.135]:55003 helo=radek.localnet) by progressive.micfo.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1ObIE1-0004Gj-0k for pgsql-jdbc@postgresql.org; Tue, 20 Jul 2010 14:11:33 -0500 From: =?utf-8?q?Rados=C5=82aw_Smogura?= To: pgsql-jdbc@postgresql.org Subject: Binary protocol support for JDBC Date: Tue, 20 Jul 2010 21:14:01 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.33-gentoo-r2; KDE/4.4.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201007202114.01608.rsmogura@softperience.eu> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - progressive.micfo.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - softperience.eu X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201007/66 X-Sequence-Number: 20731 Hello, I partially, and for "test", implemented retrieval data in binary mode=20 (instead of text mode) for some Jdbc2 types, because I see great performanc= e=20 boost (25% - 50%) on implemented types I think about including this work to= =20 main JDBC branch. This should be done without problem, because I added binary parameter to=20 Connection and Datasources, so user can decide to use binary mode retrieve = or=20 current text mode (default). Currently I implemented retrieve of short, int, long, date and BigDecimal.= =20 Other simple and basic types, used in typically application I will implemen= t=20 shortly. If you think that this could be interested patch, I will send it. Kind regards, Rados=C5=82aw Smogura