Properly adjust age() seconds to match the sign of the larger units.

Bruce Momjian <bruce@momjian.us>

Commit: b6ed78b2bd75f766cee23779bfd8b66728a37c1a
Author: Bruce Momjian <bruce@momjian.us>
Date: 2007-07-18T03:13:13Z
Releases: 8.3.0
Properly adjust age() seconds to match the sign of the larger units.
Patch from Tom.

Files

PathChange+/−
src/backend/utils/adt/timestamp.c modified +26 −2