Re: BUG #4789: ERROR 22008 on timestamp import

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kruus, Robert ENV" <Robert(dot)Kruus(at)gov(dot)sk(dot)ca>, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: BUG #4789: ERROR 22008 on timestamp import
Date: 2009-05-01 19:37:33
Message-ID: 22413.1241206653@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-05-01 21:56:13 Re: BUG #4787: Hardlink (ln) causes startup failure with bizarre "timezone_abbreviations" error
Previous Message Tom Lane 2009-05-01 18:12:23 Re: BUG #4789: ERROR 22008 on timestamp import