| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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 | Content-Type | Size |
|---|---|---|
| Test.java | text/plain | 1.0 KB |
| maketesttable.sql | text/plain | 575 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stu Coates | 2000-12-09 22:57:58 | 7.1beta1 JDBC Nested cursor problem |
| Previous Message | Ben Trout | 2000-12-09 01:52:08 | Undefined symbol: pg_encoding_to_char |