diff options
author | Barry Lind <barry@xythos.com> | 2002-06-24 04:53:05 +0000 |
---|---|---|
committer | Barry Lind <barry@xythos.com> | 2002-06-24 04:53:05 +0000 |
commit | c50bf0190f920308304fa09edbb31e2a44800dc5 (patch) | |
tree | 4c1cbb7bfdc56b2842c265bea2dfb393090dbca8 /src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | |
parent | 68913b0fbbf47c2f25abf3d6aa20ab96b6e838be (diff) | |
download | postgresql-c50bf0190f920308304fa09edbb31e2a44800dc5.tar.gz |
fixed bug reported by Wolfgang Winter w.winter@logitags.com where historic timestamps which do not have timezone info were being interpreted in local timezone instead of GMT. Also added a check to support timestamp vs. timestamptz in this code
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/Array.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java index 90b56eb92d..042a6f4069 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java @@ -172,7 +172,7 @@ public class Array implements java.sql.Array retVal = new Timestamp[ count ]; StringBuffer sbuf = null; for ( ; count > 0; count-- ) - ((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index++], rs ); + ((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index++], rs, getBaseTypeName() ); break; // Other datatypes not currently supported. If you are really using other types ask |