unknown object exception in postgresql-7.1.3 jdbc driver - Mailing list pgsql-bugs

From Lora Goldston
Subject unknown object exception in postgresql-7.1.3 jdbc driver
Date
Msg-id 3BCB0D95.1090004@bbn.com
Whole thread Raw
List pgsql-bugs
example query:

select '12345' as total from table or select first_name as "name" from table


In either case, the quoted strings cause an unknown object exeption in
the postgresql-7.1.3 jdbc driver.


Adding this line of code to the ResultSet.java seems to work, although
 I don't believe it is the best fix.

case Types.OTHER:
    return getString(columnIndex);

Lora Goldston

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #478: Integer overflow in pg_dump
Next
From: "Eric"
Date:
Subject: Dumps/Reloads