Fix portability issues in recently added make_timestamp/make_interval code.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 Mar 2014 21:42:18 +0000 (16:42 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 Mar 2014 21:42:18 +0000 (16:42 -0500)
commitf1ba94bcd9717b94b36868d6905547e313f3a359
tree1a4707b67dcfb1c22734961ea92d8326f2f5126f
parent8cf0ad1ea38db3e16ac04b408168df4c937862e6
Fix portability issues in recently added make_timestamp/make_interval code.

Explicitly reject infinity/NaN inputs, rather than just assuming that
something else will do it for us.  Per buildfarm.

While at it, make some over-parenthesized and under-legible code
more readable.
src/backend/utils/adt/timestamp.c