pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: emergency.shower@gmail.com <emergency.shower@gmail.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Timestamp changes committed to HEAD
Date: Tue, 02 Aug 2005 11:13:47 +1200
Message-ID: <42EEACAB.4000303@opencloud.com> (raw)
In-Reply-To: <bdf1a09805080112302ec02576@mail.gmail.com>
References: <42EDC90C.4040506@opencloud.com>
	<bdf1a09805080112302ec02576@mail.gmail.com>

emergency.shower@gmail.com wrote:

> Everything seems to be OK, except that read operations from the
> America/St_Johns server lead to a deviation of minus half an hour,
> probably due to a rounding error in the driver's getTimestamp
> implementation.

Ok, it looks like there is another longstanding bug in TimestampUtils
that I didn't find: it just doesn't parse timezones with non-zero minute
offsets at all (there's code there that tries to do it, but it's incorrect)

I'll commit a fix to CVS shortly, once I've sorted out a test to go with it.

-O



view thread (6+ messages)  latest in thread

Message-ID: <42EEACAB.4000303@opencloud.com>
Permalink:  ../42EEACAB.4000303@opencloud.com/
Also on:    postgresql.org/message-id/42EEACAB.4000303@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, emergency.shower@gmail.com
  Subject: Re: Timestamp changes committed to HEAD
  In-Reply-To: <42EEACAB.4000303@opencloud.com>
  References: <42EDC90C.4040506@opencloud.com> <bdf1a09805080112302ec02576@mail.gmail.com> <42EEACAB.4000303@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox