tm2timestamp should return -1, not elog, on overflow. (In the backend

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

Commit: 841b4a2d5552fcee2333dff53e66052fbee7bd22
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-07-04T18:21:14Z
Releases: 7.4.1
tm2timestamp should return -1, not elog, on overflow.  (In the backend
this is merely an API inconsistency, but in ecpg it's fatal.)  Also,
fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.

Files