From: Oliver Jowett <oliver@opencloud.com>
To: emergency.shower@gmail.com <emergency.shower@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp weirdness
Date: Tue, 26 Jul 2005 13:12:22 +1200
Message-ID: <42E58DF6.6040406@opencloud.com> (raw)
In-Reply-To: <bdf1a0980507251502f4b68af@mail.gmail.com>
References: <bdf1a09805072414582d75b940@mail.gmail.com>
<42E4158D.3020902@opencloud.com>
<14992.1122245290@sss.pgh.pa.us>
<bdf1a0980507251502f4b68af@mail.gmail.com>
emergency.shower@gmail.com wrote:
> If I TIMESTAMP WITH TIME ZONE is implemented on the server as a
> (timestamp, time zone)-pair
It's not, it's just a timestamp in UTC with no timezone stored.
> , the server should be able to cast
> TIMESTAMP WITH TIME ZONE correctly to TIMESTAMP WITHOUT TIME ZONE as
> described in the SQL standard:
>
> From TIMESTAMP WITH TIME ZONE to TIMESTAMP WITHOUT TIME ZONE
> TargetValue = SourceValue.UTC + SourceValue.TimeZone
I'd like to see this too, but Tom doesn't like it for
backwards-compatibility reasons.
-O
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 weirdness
In-Reply-To: <42E58DF6.6040406@opencloud.com>
References: <bdf1a09805072414582d75b940@mail.gmail.com> <42E4158D.3020902@opencloud.com> <14992.1122245290@sss.pgh.pa.us> <bdf1a0980507251502f4b68af@mail.gmail.com> <42E58DF6.6040406@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