pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...
Date: 2001-05-17 04:10:02
Message-ID: 200105170410.f4H4A2s89499@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian(at)hub(dot)org 01/05/17 00:10:02

Modified files:
src/interfaces/jdbc/org/postgresql/jdbc1: ResultSet.java
src/interfaces/jdbc/org/postgresql/jdbc2: ResultSet.java

Log message:
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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-05-17 11:54:05 pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...
Previous Message Bruce Momjian - CVS 2001-05-17 03:55:04 pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...