Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0DBDA632A18 for ; Wed, 8 Apr 2009 07:31:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88606-03 for ; Wed, 8 Apr 2009 07:31:30 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f115.google.com (mail-qy0-f115.google.com [209.85.221.115]) by mail.postgresql.org (Postfix) with ESMTP id 8AC3D6325BD for ; Wed, 8 Apr 2009 07:31:30 -0300 (ADT) Received: by qyk13 with SMTP id 13so46463qyk.15 for ; Wed, 08 Apr 2009 03:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=1kmLLLeldAdVTUJQlBR6QLYlzWADTba1HGA2FSbNKAI=; b=NvHF2pMy9WyTeAuT9Z3aZJMgo2/lCXxpdogD71DWjJmT/lxuSA/cxniC0ox7HsuMWz 4KJFk/rr/h9Dg+XBn8/vzYwbSIJDvWctoEaVmgajkjnLUd+QD1Nnn0SyVrxcg4OsHXDr 7UsGpiPf8LA7yn3pDyHrXQm+qLjcHF+J2ae3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=iYhWdNWNzziiRVTnVVVtB3cWUlZmWPukg3Rygych/Lzrvbsg7/hEZFtYsLwHAgxmx1 dY+KNWgryp55xMjszYM/Bl/B1QrI+zSC2U14GcXHccvRq31mIez7booqpwpRPt6mTw+O jUGI2GYV7WjTKiheF3oFLCg3GmR4Vq8yD4ecw= MIME-Version: 1.0 Received: by 10.229.95.4 with SMTP id b4mr32093qcn.46.1239186688712; Wed, 08 Apr 2009 03:31:28 -0700 (PDT) In-Reply-To: <49DC5358.3090700@kickstone.com> References: <491f66a50904070817o3af217d4odc32bdfd29b47789@mail.gmail.com> <49DBBF8D.2080806@kickstone.com> <49DC5358.3090700@kickstone.com> Date: Wed, 8 Apr 2009 06:31:28 -0400 X-Google-Sender-Auth: c64483c5e2c37f79 Message-ID: <491f66a50904080331r6b106373u29cc0c2907a68431@mail.gmail.com> Subject: Re: Array passing From: Dave Cramer To: John Lister Cc: Kris Jurka , pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=0016364ef40a6421f3046708a292 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200904/31 X-Sequence-Number: 19478 --0016364ef40a6421f3046708a292 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Apr 8, 2009 at 3:33 AM, John Lister wrote: > Cheers for the pointer to the patches, i'll have a look.... I may be over > simplifying things (and i haven't looked at probably nearly enough of the > jdbc code) but surely the driver knows from the server what types it is > returning and can thus convert to whatever the user wants in the same way it > converts from string. > > > Yes, it does know what types it is returning but it also has to do some > more work to determine the native representation. As I mentioned there is at > least one problem that I am aware of and that is different server types for > datetime. > Dave --0016364ef40a6421f3046708a292 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Apr 8, 2009 at 3:33 AM, John Lis= ter <j= ohn.lister-ps@kickstone.com> wrote:
Cheers for the pointer to the patches, i'll have a look.... I may be ov= er simplifying things (and i haven't looked at probably nearly enough o= f the jdbc code) but surely the driver knows from the server what types it = is returning and can thus convert to whatever the user wants in the same wa= y it converts from string.

=A0
Yes, it does know what types i= t is returning but it also has to do some more work to determine the native= representation. As I mentioned there is at least one problem that I am awa= re of and that is different server types for datetime.

Dave

--0016364ef40a6421f3046708a292--