Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 6183B9F93A4 for ; Fri, 2 Feb 2007 13:49:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 68177-08 for ; Fri, 2 Feb 2007 13:49:32 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id C46959FB2D0 for ; Fri, 2 Feb 2007 13:00:49 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id 77A4CF875; Fri, 2 Feb 2007 12:00:25 -0500 (EST) Date: Fri, 2 Feb 2007 12:00:25 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: =?ISO-8859-2?Q?Miroslav_=A9ulc?= cc: pgsql-jdbc@postgresql.org Subject: Re: JDBC and arrays In-Reply-To: <45C304FB.6020702@startnet.cz> Message-ID: References: <45C295F4.4030100@startnet.cz> <45C304FB.6020702@startnet.cz> MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200702/17 X-Sequence-Number: 16573 On Fri, 2 Feb 2007, Miroslav =A9ulc wrote: > Thank you for explanation. If I still want to write inet[] data, is it=20 > sufficient to implement PGobject so it returns 'inet[]' type and '{ "ip",= =20 > "ip" }' value and pass that to setObject()? That should work although you'll probably need to write _inet=20 instead of inet[]. The underscore variant is the the backend's true=20 datatype name and I'm not sure if it will accept the other version in this= =20 context.