Re: Rounding error on extract(epoch ..) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Rounding error on extract(epoch ..)
Date
Msg-id 14380.1390582373@sss.pgh.pa.us
Whole thread Raw
In response to Rounding error on extract(epoch ..)  (Moshe Jacobson <moshe@neadwerx.com>)
Responses Re: Rounding error on extract(epoch ..)
List pgsql-bugs
Moshe Jacobson <moshe@neadwerx.com> writes:
> It seems that extract(epoch ..) does not preserve the entire precision of
> the passed-in timestamp.

The result is float8, so being good to about 16 digits is expected
behavior.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Moshe Jacobson
Date:
Subject: Rounding error on extract(epoch ..)
Next
From: kieran.mccusker@gmail.com
Date:
Subject: BUG #8956: fedora download does not contain pg_config