dbTalk Databases Forums  

Re: [BUGS] BUG #1525: wrong time when getting timestamp from date

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #1525: wrong time when getting timestamp from date in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default Re: [BUGS] BUG #1525: wrong time when getting timestamp from date - 03-04-2005 , 11:13 PM








On Fri, 4 Mar 2005, Fran=C3=A7ois LECOMTE wrote:

Quote:
Bug reference: 1525
PostgreSQL version: 8.0.1
Description: wrong time when getting timestamp from date field
=20
Problem when getting a Java Timestamp object on a DATE database field.
With driver pg74jdbc3.jar : hours, minutes, seconds and millis have zero
values (ex : "2003-09-10 00:00:00.0") in the Timestamp object, no problem.
With driver postgresql-8.0-310.jdbc3.jar (same database, same table, same
record) : we get 1 hour and zero minutes, seconds and millis ! ("2003-09-=
10
01:00:00.0")
Maybe UTC time ? but suerly a bug...
=20
There is a known bug in the 8.0 jdbc driver when the client and server are=
=20
in different timezones. Is that the case here?

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.