7.1beta1 JDBC bug?

Started by Stu Coatesover 25 years ago1 messagesbugs
Jump to latest
#1Stu Coates
stu@StuCoates.com

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.

Attachments:

Test.javatext/plain; charset=us-ascii; name=Test.javaDownload
maketesttable.sqltext/plain; charset=us-ascii; name=maketesttable.sqlDownload