pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: Takeichi Kanzaki Cabrera <tkanzakic@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: reading an oidvector field error
Date: Mon, 16 Jan 2006 16:54:53 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0601161650430.8600@leary.csoft.net> (raw)
In-Reply-To: <18171.1137446058@sss.pgh.pa.us>
References: <651aa54b0601120629u5008e159y4af88edca5037a82@mail.gmail.com>
	<43C71C52.4020009@opencloud.com>
	<651aa54b0601130817s182aac6arf79d705b27a211c0@mail.gmail.com>
	<43C821C2.7090004@opencloud.com>
	<651aa54b0601161006l12f76af3w686f4f3c0fc70137@mail.gmail.com>
	<43CC0AA6.605@opencloud.com>
	<18171.1137446058@sss.pgh.pa.us>



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



view thread (8+ messages)  latest in thread

Message-ID: <Pine.BSO.4.61.0601161650430.8600@leary.csoft.net>
Permalink:  ../Pine.BSO.4.61.0601161650430.8600@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.61.0601161650430.8600@leary.csoft.net

 · 

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: books@ejurka.com, tgl@sss.pgh.pa.us, oliver@opencloud.com, tkanzakic@gmail.com
  Subject: Re: reading an oidvector field error
  In-Reply-To: <Pine.BSO.4.61.0601161650430.8600@leary.csoft.net>
  References: <651aa54b0601120629u5008e159y4af88edca5037a82@mail.gmail.com> <43C71C52.4020009@opencloud.com> <651aa54b0601130817s182aac6arf79d705b27a211c0@mail.gmail.com> <43C821C2.7090004@opencloud.com> <651aa54b0601161006l12f76af3w686f4f3c0fc70137@mail.gmail.com> <43CC0AA6.605@opencloud.com> <18171.1137446058@sss.pgh.pa.us> <Pine.BSO.4.61.0601161650430.8600@leary.csoft.net>

* 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