From: | Barry Lind <barry(at)xythos(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Patch for jdbc ResultSet.getTimestamp() |
Date: | 2001-05-16 05:51:31 |
Message-ID: | 3B021563.7060809@xythos.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Included is a patch that fixes a bug introduced in the lastest version
(1.22) of interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java. That
change removed a line that set the variable s to the value of the
stringbuffer. This fix changes the following if checks to check the
length of the stringbuffer instead of s, since s no longer contains the
string the if conditions are expecting.
The bug manifests itself in getTimestamp() loosing the timezone
information of timestamps selected from the database, thereby causing
the time to be incorrect.
If possible this patch should be patched into 7.1 for the upcoming 7.1.2
patch.
thanks,
--Barry
Attachment | Content-Type | Size |
---|---|---|
patch.diff | text/plain | 1.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-05-16 16:19:31 | Re: Patch to add cursor support to PL/pgSQL |
Previous Message | Bruce Momjian | 2001-05-16 03:01:47 | Re: BlobInputStream.java patch |