Skip site navigation (1) Skip section navigation (2)

7.1beta1 JDBC bug?

From: Stu Coates <stu(at)StuCoates(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.1beta1 JDBC bug?
Date: 2000-12-09 18:42:19
Message-ID: 3A327D0B.AA689C90@StuCoates.com (view raw or flat)
Thread:
Lists: pgsql-bugs
I think that I've found a little bug in the 7.1beta1 JDBC drivers.
Attached is a simple test case which produces the problem on my setup
(LinuxPPC 2000, on Apple PowerMac G3-400Mhz, 512MB).  It would seem that
the drivers and/or the DBMS has a problem with nested queries, even
simple ones.

Here's the stacktrace:

Bad Long
  at org.postgresql.jdbc2.ResultSet.getLong(ResultSet.java:284)
  at Test.go(Test.java:35)
  at Test.main(Test.java:15)

I'm using the 7.0.2 JDBC drivers against the 7.1beta1 backend and
everything seems to be working fine.

Stu.

--
Stu Coates
Chelmsford, England U.K.
http://www.StuCoates.com/

The day Microsoft makes something that doesn't suck is probably the day
they start making vacuum cleaners.

Attachment: maketesttable.sql
Description: text/plain (575 bytes)
Attachment: Test.java
Description: text/plain (1.0 KB)

pgsql-bugs by date

Next:From: Stu CoatesDate: 2000-12-09 22:57:58
Subject: 7.1beta1 JDBC Nested cursor problem
Previous:From: Ben TroutDate: 2000-12-09 01:52:08
Subject: Undefined symbol: pg_encoding_to_char

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group