From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Kasper Rönning <kasper(dot)ronning(at)reliabit(dot)fi> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Issue when displaying TIMESTAMPTZ values |
Date: | 2012-06-07 14:37:18 |
Message-ID: | 8593.1339079838@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
=?ISO-8859-1?Q?Kasper_R=F6nning?= <kasper(dot)ronning(at)reliabit(dot)fi> writes:
> I seem to have found a bug in Postgres 9.1.3. Apparently timestamp
> values are stored correctly in the database, but querying it returns
> invalid results. My environment is Windows 7 64bit. The unexpected
> result is that timestamps before 1st of May 1921 are displayed
> incorrectly when time zone is 'Europe/Helsinki'.
This is not incorrect. The Olson timezone database shows:
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Europe/Helsinki 1:39:52 - LMT 1878 May 31
1:39:52 - HMT 1921 May # Helsinki Mean Time
2:00 Finland EE%sT 1983
2:00 EU EE%sT
that is, it was only in 1921 that Helsinki adopted "standard" time
referenced to the Greenwich meridian. Before that it would have been
typical to set clocks by local mean solar time, which is 1:39:52 east
of Greenwich.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2012-06-07 16:49:42 | Re: BUG #6661: out-of-order XID insertion in KnownAssignedXids |
Previous Message | Andres Freund | 2012-06-07 13:58:24 | Re: BUG #6661: out-of-order XID insertion in KnownAssignedXids |