Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E9CD56328AA for ; Thu, 22 Oct 2009 13:13:39 -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 39864-04 for ; Thu, 22 Oct 2009 16:13:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.223.182]) by mail.postgresql.org (Postfix) with ESMTP id E1A2262DBFD for ; Thu, 22 Oct 2009 13:13:31 -0300 (ADT) Received: by iwn12 with SMTP id 12so4036143iwn.15 for ; Thu, 22 Oct 2009 09:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qWvKjhTtTL4uFLsf3xWF41lziXfjN4I4W5ytR3MEdzc=; b=DOdHS7kOudTAIKbtJ+C0Rt73lBIQ4rFrwWdXlfuyaj4omLeUTpVflh5mWP+Pgd6SN6 Oo5HkklOeKjRg/U5BvaYiJJz/8DpIfeVyusSfhqKFDdP20ghqoq3WvutFkyXlhdsn0NY Da9n+ERYAF8btN057Q8jdnTfYCIKkWi/roR/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=j39SN45AejER98ayCkxGNylCvsiR2XOy1CZdCK3j/IJCfFOLa+JlQsiZLPPitwM3DL UYF4l4NdMZlMy1Y7Q0SCjiOLZDj9I69GuIaaVDJoyBwuyolLvs0uJnKFv9khONnBNI2e nsLXl+b645XHF6RohVALBZFSehAjbZZEHgd5U= MIME-Version: 1.0 Received: by 10.231.6.153 with SMTP id 25mr7692395ibz.54.1256228010703; Thu, 22 Oct 2009 09:13:30 -0700 (PDT) In-Reply-To: <4AE0817A.5010502@computer.org> References: <4ADDDFC7.3010900@computer.org> <4AE0817A.5010502@computer.org> Date: Thu, 22 Oct 2009 09:13:30 -0700 Message-ID: <396486430910220913n78799e5apb6e3ef3494407d6b@mail.gmail.com> Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol From: Richard Broersma To: David Wall Cc: pgsql-jdbc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/29 X-Sequence-Number: 20031 On Thu, Oct 22, 2009 at 8:59 AM, David Wall wrote: > =A0Does anybody > know if the JDBC driver with PG 8.4 communicates using a binary protocol = for > BYTEA transfers to/from or whether it sends escaped chars only? =A0Or per= haps > which classes handle the transfer of BYTEA to PG and receives BYTEA > responses from PG? I don't know if you've already looked at this document (I'm not sure if it answers your question): http://jdbc.postgresql.org/documentation/84/binary-data.html It sounds like it uses an InputStream but I'm not sure. --=20 Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug