The following bug has been logged online: Bug reference: 5197 Logged by: Joseph Shraibman Email address: j...@selectacast.net PostgreSQL version: 8.2.14 Operating system: Linux Description: JDBC: selecting oid results in Exception Details:
query: "select oid FROM pg_catalog.pg_class c;" ----------------------------------------------- org.postgresql.util.PSQLException: Bad value for type int : 2148618421 at org.postgresql.jdbc2.AbstractJdbc2ResultSet.toInt(AbstractJdbc2ResultSet.jav a:2630) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.ja va:1968) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.internalGetObject(AbstractJdbc2R esultSet.java:119) at org.postgresql.jdbc3.AbstractJdbc3ResultSet.internalGetObject(AbstractJdbc3R esultSet.java:39) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2ResultSet .java:2429) Casting oid to bigint doesn't result in an Exception -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs