Re: different result between 8.3 and 8.5 (to_timestamp function)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: different result between 8.3 and 8.5 (to_timestamp function)
Date: 2009-11-16 16:04:37
Message-ID: 162867790911160804r6112a62ay3b057b3ab2d4fd52@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/11/16 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> 2009/11/16 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>>> What timezone setting are you using?  I'd bet a great deal that
>>> +00:57:44 is what the Olsen database shows as the LMT offset for
>>> your zone before standardized timezones were adopted.
>
>> I am using CET.
>
> "CET" covers a multitude of sins, but I suspect it's specifically
> Europe/Prague:
>
> # Zone  NAME            GMTOFF  RULES   FORMAT  [UNTIL]
> Zone    Europe/Prague   0:57:44 -       LMT     1850
>                        0:57:44 -       PMT     1891 Oct     # Prague Mean Time
>                        1:00    C-Eur   CE%sT   1944 Sep 17 2:00s
>                        1:00    Czech   CE%sT   1979
>                        1:00    EU      CE%sT
>
> So midnight local time corresponds to 00:57:44 GMT before 1891.
> If you think this is wrong, use another zone, or take it up with
> the zic folk.
>

ok - I understand.

Thank you

Pavel

>                        regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-11-16 16:07:52 Re: Summary and Plan for Hot Standby
Previous Message Tom Lane 2009-11-16 15:43:58 Re: different result between 8.3 and 8.5 (to_timestamp function)