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

unknown object exception in postgresql-7.1.3 jdbc driver

From: Lora Goldston <lgoldsto(at)bbn(dot)com>
To: pgsql-bugs(at)PostgreSQL(dot)org
Subject: unknown object exception in postgresql-7.1.3 jdbc driver
Date: 2001-10-15 16:23:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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 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

Next:From: Tom LaneDate: 2001-10-15 17:32:31
Subject: Re: probably a bug of data-type serial
Previous:From: pgsql-bugsDate: 2001-10-15 16:22:23
Subject: Bug #482: psql (7.1.3) doesn't like sysid=0

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