Re: reading an oidvector field error - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: reading an oidvector field error
Date
Msg-id Pine.BSO.4.61.0601161650430.8600@leary.csoft.net
Whole thread Raw
In response to Re: reading an oidvector field error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: reading an oidvector field error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc

On Mon, 16 Jan 2006, Tom Lane wrote:

> In very recent PG releases, you could cast oidvector to oid[] (or maybe
> better int8[]) in your query, but unless the JDBC array code copes with
> nondefault subscripts, it'll still have trouble:
>

The JDBC array code throws away nondefault subscripts because the JDBC
spec says that all arrays are 1-indexed.  For the most part people don't
want non-default subscripts and only get them via prepending operations
that they didn't expect to alter the indexing (of course these are now
gone in 8.2).

Kris Jurka

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: reading an oidvector field error
Next
From: Prasanth
Date:
Subject: getDate after call to updateDate