Re: BUG #4789: ERROR 22008 on timestamp import - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4789: ERROR 22008 on timestamp import
Date
Msg-id 22413.1241206653@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #4789: ERROR 22008 on timestamp import  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> With enough nines, the fsec value is going to round up to 1.0 (float
> case) or USECS_PER_SEC (int case).  So I think that this check ought
> to allow, not exclude, the boundary value.

Patch applied here:
http://archives.postgresql.org/message-id/20090501192913.C39EC75407B@cvs.postgresql.org

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4789: ERROR 22008 on timestamp import
Next
From: Tom Lane
Date:
Subject: Re: BUG #4787: Hardlink (ln) causes startup failure with bizarre "timezone_abbreviations" error