Re: Array types

From: "John Lister" <john(dot)lister-ps(at)kickstone(dot)com>
To: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Array types
Date: 2009-04-08 15:15:40
Message-ID: 93C5F665B92A4EB18E8480B34C001F04@squarepi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)lister-ps(at)kickstone(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-04-08 15:18:33 Re: Array types
Previous Message John Lister 2009-04-08 15:11:55 Re: Array types