Allow to_timestamp(float8) to convert float infinity to timestamp infinity.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e511d878f3bbc205cd260a79740e646eea3c1cd3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-29T21:09:29Z
Releases: 9.6.0
Allow to_timestamp(float8) to convert float infinity to timestamp infinity.

With the original SQL-function implementation, such cases failed because
we don't support infinite intervals.  Converting the function to C lets
us bypass the interval representation, which should be a bit faster as
well as more flexible.

Vitaly Burovoy, reviewed by Anastasia Lubennikova

Files

Documentation touched