Included is a patch that fixes a bug introduced in the lastest version

Bruce Momjian <bruce@momjian.us>

Commit: f107174e8c722b791678a2f46da7164a9e2e1920
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-05-17T04:10:02Z
Releases: 7.2.1
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.

Barry Lind

Files