Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0817C63331A for ; Thu, 22 Oct 2009 17:53:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 77496-01 for ; Thu, 22 Oct 2009 20:53:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 25105633221 for ; Thu, 22 Oct 2009 17:53:25 -0300 (ADT) Received: from 122-57-44-76.jetstream.xtra.co.nz ([122.57.44.76] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1N14es-0005c6-2C; Fri, 23 Oct 2009 09:53:18 +1300 Message-ID: <4AE0C63D.3040303@opencloud.com> Date: Fri, 23 Oct 2009 09:53:17 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: David Wall CC: pgsql-jdbc Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol References: <4ADDDFC7.3010900@computer.org> In-Reply-To: <4ADDDFC7.3010900@computer.org> 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=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/34 X-Sequence-Number: 20036 David Wall wrote: > Does the JDBC 4 driver for PG 8.4 escape each character of the bytea > type, or does it use a binary protocol? When sending parameter data to the server, it uses the binary format. When receiving results from the server, it uses the text format. -O