Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id BC74C6345F3 for ; Tue, 7 Apr 2009 16:59:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 16672-03-2 for ; Tue, 7 Apr 2009 16:59:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.esilo.com (manager.esilo.com [63.150.152.211]) by mail.postgresql.org (Postfix) with ESMTP id B6DC4635BDA for ; Tue, 7 Apr 2009 16:59:41 -0300 (ADT) Received: from [10.0.0.2] (fwext-esilo-jupiter.esilo.com [64.135.45.146]) (authenticated bits=0) by mail.esilo.com (8.13.1/8.13.1) with ESMTP id n37JxIhX023326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Apr 2009 15:59:19 -0400 Message-ID: <49DBB0B9.6020100@esilo.com> Date: Tue, 07 Apr 2009 15:59:53 -0400 From: Andrew Chernow User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: John Lister CC: Merlin Moncure , pgsql-hackers@postgresql.org Subject: Re: Array types References: <89DBB5874E89413698A8E275E5E79154@squarepi.com> <49DBA65B.9020706@esilo.com> <49DBAF74.5020409@kickstone.com> In-Reply-To: <49DBAF74.5020409@kickstone.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.132 tagged_above=0 required=5 tests=AWL=0.132 X-Spam-Level: X-Archive-Number: 200904/382 X-Sequence-Number: 136485 John Lister wrote: > Cheers, nice to know it is possible... Now to see if i can get > java/python to do the same :) or to use a modified libpq somehow... > > If performance is your concern, you would probably get the best results using the languages C glue interfrace. For instance, in java I think you would want to create a JNI wrapper to libpqtypes that converts PGarray to a java array. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/