pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: andreas.percher@automedia.de
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Columns out of range-error
Date: Sat, 21 Aug 2004 14:18:22 +1200
Message-ID: <4126B0EE.2070900@opencloud.com> (raw)
In-Reply-To: <000101c486c7$410b4cd0$1600a8c0@developer>
References: <000101c486c7$410b4cd0$1600a8c0@developer>

Andreas Percher wrote:

> Sending a "begin" it gives us a SQL Error
> "Spaltenindex außerhalb des gültigen Bereichs"
> Which meens 
> "The column index is out of range."
> 
> --> postgresql.res.colrange:Spaltenindex außerhalb des gültigen Bereichs
> 
> --> postgresql.res.colrange:The column index is out of range.
> 
> This error message occur after 13-16 inserts, depending on the column
> count of each insert. Sending the inserts without the long data field
> "specialequipment", results in letting the error occur one insert later.
> 
> In case of the Error, round about 600 columns (counted over all inserts)
> are waiting for its commitment.

Can you provide the full stack trace? I just dug through the driver and 
the only place that this exception will be thrown is when querying a 
ResultSet (either a ResultSet.getXXX() call, or from inspecting a 
ResultSetMetaData). It seems strange that these methods would ever get 
invoked if you're only doing updates..

-O



view thread (9+ messages)  latest in thread

Message-ID: <4126B0EE.2070900@opencloud.com>
Permalink:  ../4126B0EE.2070900@opencloud.com/
Also on:    postgresql.org/message-id/4126B0EE.2070900@opencloud.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: oliver@opencloud.com, andreas.percher@automedia.de
  Subject: Re: Columns out of range-error
  In-Reply-To: <4126B0EE.2070900@opencloud.com>
  References: <000101c486c7$410b4cd0$1600a8c0@developer> <4126B0EE.2070900@opencloud.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