Fix (hopefully for the last time) problems with datetime values displaying

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

Commit: 313ed1ed9498f977262e180a080c7748197ced5c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-09T17:21:47Z
Releases: 8.1.0
Fix (hopefully for the last time) problems with datetime values displaying
like '23:59:60' because of fractional-second roundoff problems.  Trying
to control this upstream of the actual display code was hopeless; the right
way is to explicitly round fractional seconds in the display code and then
refigure the results if the fraction rounds up to 1.  Per bug #1927.

Files