Re: Conversion errors for datetime fields - Mailing list pgsql-bugs

From Larry Rosenman
Subject Re: Conversion errors for datetime fields
Date
Msg-id 20001228221356.A8781@lerami.lerctr.org
Whole thread Raw
In response to Re: Conversion errors for datetime fields  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
* Tom Lane <tgl@sss.pgh.pa.us> [001228 22:01]:
> > SO, we need to allow it as well.  I suspect the C99 standard or
> > some other POSIX/SUS/etc standard changed.
>
> C99 *corrects* this error; it specifies 0-60 not 0-61 as the range
> of tm_sec.  (It also describes actual support for leap-second
> timekeeping, which the original C standard did not.)
>
> But this is all irrelevant, anyway, unless you want people to install
> atomic clocks before they can run Postgres.  We don't have support for
> leap-second timekeeping, and few if any of the platforms we run on
> do either.  IMHO, accepting :60 when we do not have the ability to do
> anything correct with it won't improve matters.
>
>             regards, tom lane
Ok.  I just wanted to mention what I had thought was an
*Authoritative* source.

Thanks for your research time.....

LER

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Conversion errors for datetime fields
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: update and tcl/tk