pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: John Dickson <jdickson@dialectsolutions.com>
Cc: 'pgsql-jdbc@postgresql.org' <pgsql-jdbc@postgresql.org>
Subject: Re: Problems storing timestamps with calendars
Date: Thu, 28 Jul 2005 22:14:17 +1200
Message-ID: <42E8AFF9.7000300@opencloud.com> (raw)
In-Reply-To: <CF2BC135FB37D51197D400508BAF5217038CEA70@aubnmsx01.qsi.com.au>
References: <CF2BC135FB37D51197D400508BAF5217038CEA70@aubnmsx01.qsi.com.au>

John Dickson wrote:

> We've found the same problem with the postgres driver - the versions of
> setTimestamp() and getTimestamp() taking Calendars adjust the timezone
> in the wrong direction.

I have a substantial rewrite of get/setTimestamp() waiting in the wings
that I'm planning to commit shortly. It fixes several problems with the
Calendar-using variants, and also should fix assignment to timestamp
(not timestamptz) columns. Can you send me your testcase so I can check
that it works ok?

-O



view thread (5+ messages)

Message-ID: <42E8AFF9.7000300@opencloud.com>
Permalink:  ../42E8AFF9.7000300@opencloud.com/
Also on:    postgresql.org/message-id/42E8AFF9.7000300@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, jdickson@dialectsolutions.com
  Subject: Re: Problems storing timestamps with calendars
  In-Reply-To: <42E8AFF9.7000300@opencloud.com>
  References: <CF2BC135FB37D51197D400508BAF5217038CEA70@aubnmsx01.qsi.com.au> <42E8AFF9.7000300@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