Re: Array types - Mailing list pgsql-hackers

From John Lister
Subject Re: Array types
Date
Msg-id 93C5F665B92A4EB18E8480B34C001F04@squarepi.com
Whole thread Raw
In response to Array types  ("John Lister" <john.lister-ps@kickstone.com>)
List pgsql-hackers
No unfortunately not, it is a JDBC type 4 java which is entirely written in 
java. I've patched (as pointed out in another list) the base version to 
handle binary data (still a couple of issues that seem unfinished) which has 
given me clues, but the patch only supports simple types. I'm looking to 
create translator for arrays now..

I was hoping to use the java type handling for the internals of the array 
and throw an error on any "unknown" ones... I only use ints and floats in my 
arrays, so may leave it at that if it works and look at doing it properly 
later...


> On Wed, Apr 8, 2009 at 10:48 AM, John Lister
> <john.lister-ps@kickstone.com> wrote:
>> Following this up, is there any docs on the binary wire format for 
>> arrays?
>>
>> Thanks
>>
>
> Does java wrap libpq? If so, your best bet is probably going to be to
> go the libpqtypes route.  If you want help doing that, you are more
> than welcome to ask (probably should move this thread to the
> libqptypes list).  If not, you are headed for a 'much bigger than it
> looks on the surface' challenge...there are a lot of types...trust me
> on this one.  If you want help with libpqtypes you can ask on our list
> on pgfoundry.
>
> merlin
>
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
> 



pgsql-hackers by date:

Previous
From: "John Lister"
Date:
Subject: Re: Array types
Next
From: Andrew Dunstan
Date:
Subject: Re: Array types