Re: Postgres 8.0 + JDBC

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Johann Robette <jrobette(at)onyme(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Postgres 8.0 + JDBC
Date: 2004-10-05 20:31:39
Message-ID: Pine.BSO.4.56.0410051527310.11868@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Wed, 6 Oct 2004, Oliver Jowett wrote:

> It seems possible to fix the driver to handle this case by making
> setArray() derive a proper array type name i.e. ("_" +
> Array.getBaseType()), and using that rather than 'text' as the parameter
> type.
>

Wouldn't it be simpler to change setArray to call setString with 0 as the
type oid allowing the backend to figure out what to do with it? Perhaps
it would have trouble determining the type if the underlying function was
overloaded, but other than that I don't see a problem.

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Jowett 2004-10-05 20:57:15 Re: Postgres 8.0 + JDBC
Previous Message Mike Morris 2004-10-05 20:15:39 SSL connection between PHP4 & PostgreSQL ???

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-10-05 20:42:10 Re: correct installation of postgis ??
Previous Message Oliver Jowett 2004-10-05 20:10:49 Re: Postgres 8.0 + JDBC