String index out of range: 23 problem with timestamp milliseconds

From: Yuva Chandolu <ychandolu(at)ebates(dot)com>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: String index out of range: 23 problem with timestamp milliseconds
Date: 2002-06-19 18:13:27
Message-ID: A0F24737FCB34F489EC955D143BDD851BF84C7@exchange-sf1.corp.ebates.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I have posted this question yesterday and it did't catch any one's eye. We
are stuck with this problem :-(. Could you please look into this.

We have a timestamp column in one table and we are getting the above problem
when the timestamp column has a value up to milliseconds.

We are using stable PostgreSQL 7.2 jdbc driver (pgjdbc2.jar) got from
http://jdbc.postgresql.org/download.html. Does anyone know of latest
production ready driver that fixes this problem?

This problem is coming from ResultSet class, I found that beta jar
(devpgjdbc2.jar) has fix for it but it is not production ready. Can we just
take ResultSet classes from this beta jar and insert into production
jar(pgjdbc2.jar) and use it? Would there be any risk involved in doing so?

Thanks
Yuva

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-06-19 19:03:36 Re: [HACKERS] Milliseconds problem with PostgreSQL 7.2 jdbc driver
Previous Message Aaron Mulder 2002-06-19 01:42:20 Re: 7.2.1 getImportedKeys/getExportedKeys Problems