Re: timezone incompatibility

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: "Winter, Wolfgang" <Wolfgang(dot)Winter(at)AtosOrigin(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: timezone incompatibility
Date: 2002-06-21 09:13:30
Message-ID: 1024650811.1543.4.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Wolfgang,

This isn't a jdbc issue, I would try the hackers list, or the general
list.

Out of curiosity are you using RedHat? They broke time. You can try
complaining to them if this is the case.

Dave
On Fri, 2002-06-21 at 02:46, Winter, Wolfgang wrote:
> Hi,
>
> I'm testing our auto-configuration persistence framework (acp) against
> several databases and now that it comes to PostgreSQL, I run into a timezone
> incompatibility compared to other jdbc-drivers/databases. The framework
> tests the database specific datatypes by inserting a value, retrieving it
> and comparing the result. Here is the result for timestamp:
>
> Insert and Retrieve of SQLType 93 test value <Sun Jun 20 20:16:54 CEST
> 1756> failed. Retrieved after insert: <Sun Jun 20 18:16:54 CEST 1756>
>
> I tried it with a test value in 1992 and the test passes.
> Okay, the docs say:
> "PostgreSQL uses your operating system's underlying features to provide
> output time-zone support, and these systems usually contain information for
> only the time period 1902 through 2038 (corresponding to the full range of
> conventional Unix system time)."
>
> But nevertheless, I feel sick with this behaviour, to me it seems not to be
> correct and it makes PostgreSQL incompatible to other databases. The
> databases I have tested so far retrieve the correct date before 1902.
>
>
> regards
> Wolfgang
>
>
>
> Dr. Wolfgang Winter
> LogiTags Systems
> http://www.logitags.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Goodenough 2002-06-21 10:38:39 SELECT problem
Previous Message Dave Page 2002-06-21 09:04:59 Re: foreign Key problem

Browse pgsql-jdbc by date

  From Date Subject
Next Message Winter, Wolfgang 2002-06-21 10:05:54 Re: timezone incompatibility
Previous Message Winter, Wolfgang 2002-06-21 06:46:32 timezone incompatibility