pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marek Lewczuk <newsy@lewczuk.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: AbstractJdbc2Array - another patch
Date: Fri, 26 Oct 2007 13:49:02 +0200
Message-ID: <4721D42E.4060107@lewczuk.com> (raw)
In-Reply-To: <4717A074.4000109@ejurka.com>
References: <470DE5E7.2090807@lewczuk.com>
	<Pine.BSO.4.64.0710180401490.16749@leary.csoft.net>
	<47172FF2.6070203@lewczuk.com>
	<4717A074.4000109@ejurka.com>

Kris Jurka pisze:
> Doh!  OK, now it mostly works, but there's still an issue with setting 
> the basetype on a subarray to the base element type instead of an array 
> type, as attached.  rs.getObject() (and metadata) are confused about 
> what the correct type is.
I see the problem. I assume that we need to add support for array types, 
which means that org.postgresql.core.Oid must have oid for every base 
type array, e.g. _INT2 = 1005. It will be also required to add 
appropriate data within org.postgresql.jdbc2.TypeInfoCache#types. Should 
I do it ?

Regards,
Marek Lewczuk







view thread (20+ messages)  latest in thread

Message-ID: <4721D42E.4060107@lewczuk.com>
Permalink:  ../4721D42E.4060107@lewczuk.com/
Also on:    postgresql.org/message-id/4721D42E.4060107@lewczuk.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: newsy@lewczuk.com, books@ejurka.com
  Subject: Re: AbstractJdbc2Array - another patch
  In-Reply-To: <4721D42E.4060107@lewczuk.com>
  References: <470DE5E7.2090807@lewczuk.com> <Pine.BSO.4.64.0710180401490.16749@leary.csoft.net> <47172FF2.6070203@lewczuk.com> <4717A074.4000109@ejurka.com> <4721D42E.4060107@lewczuk.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox