Re: [HACKERS] Need confirmation of "Posix time standard" on FreeBSD

From: "Gene Sokolov" <hook(at)aktrad(dot)ru>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Need confirmation of "Posix time standard" on FreeBSD
Date: 2000-02-07 16:07:12
Message-ID: 168201bf7185$65338ed0$0d8cdac3@aktrad.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: "Malcolm Beattie" <mbeattie(at)sable(dot)ox(dot)ac(dot)uk>
> Thomas Lockhart writes:
> > Before committing this (or at least before completing our upcoming
> > beta period), I'd like confirmation that this actually matches
> > expected behavior for a machine implementing a "GMT+0800" (or similar)
> > time zone, and that it is indeed a Posix standard? Anyone??
>
> I can confirm that it is a POSIX standard. Section 8.1.1 "Extensions
> to Time Functions" of POSIX 1003.1-1988 says TZ can be of the form
> :characters
> for implementation-defined behaviour or else
> std offset [dst [offset][,start[/time],end[/time]]]

It probably won't affect anything, but some implementations (FreeBSD most
notably) have a bug in parsing TZ light savings string. The M notation gives
one day off for switching to/from light savings. Actually, it incorrectly
assumes Sunday as 0 for Zeller Congruence when it's Saturday.

Gene Sokolov.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-07 16:11:28 Re: [HACKERS] New Globe
Previous Message Tom Lane 2000-02-07 16:06:23 Re: [HACKERS] Longer Column Names