X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 191B75E40BB for ; Fri, 20 Aug 2004 12:06:16 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50962-03 for ; Fri, 20 Aug 2004 15:06:19 +0000 (GMT) Received: from stefan7.han-solo.net (stefan7.han-solo.net [161.58.219.97]) by svr1.postgresql.org (Postfix) with ESMTP id 8FC4C5E46DF for ; Fri, 20 Aug 2004 12:06:10 -0300 (ADT) Received: from developer ([195.227.76.210]) by stefan7.han-solo.net (8.12.11) id i7KF6Ga1010586; Fri, 20 Aug 2004 09:06:17 -0600 (MDT) Reply-To: From: "Andreas Percher" To: Subject: Re: Columns out of range-error Date: Fri, 20 Aug 2004 17:06:17 +0200 Organization: automedia GmbH Message-ID: <000101c486c7$410b4cd0$1600a8c0@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <1093012348.20381.4.camel@localhost.localdomain> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/120 X-Sequence-Number: 10842 I'm a Newbe in using commitment control.=20 Toby (Woolve73) is my Colleague. So I try to refine his question. Step 1 We've got a Table with 203 columns. We wan't to add (insert) up to 150 new rows. Each row need 38-52 columns. Step 2 Using pgAdmin anithing is fine. Adding "begin" and "roolback" (we don't want to kill our live database) - it works. Sending the inserts out of our Java-Application without start/roolback works too. Step 3 Now back in Java. Sending a "begin" it gives us a SQL Error "Spaltenindex au=DFerhalb des g=FCltigen Bereichs" Which meens=20 "The column index is out of range." --> postgresql.res.colrange:Spaltenindex au=DFerhalb des g=FCltigen 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. Step 4 We are confused. We need to use commitment control, because if one insert, update or delete fails, or if an error in the data input stream occurs, we have to rollback. > Toby, >=20 > You will have to give us more information. > can you show us the relevant code ? > But in general you can't put 650 columns into 200 columns ? How is=20 > that supposed to work ? >=20 > Dave > On Fri, 2004-08-20 at 10:20, Tobias Zielke wrote: > > Hi, > >=20 > > We have a Problem with postgresql 7.4.3 and jdbc > > ... > > Thnx > > Woolve73 > > Toby