View Single Post

   
  #6 (permalink)  
Old 04-16-2008, 12:53 AM
Kris Jurka
 
Posts: n/a
Default Re: reading an oidvector field error



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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote