Allow 60 in seconds fields of timestamp, time, interval input values.

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

Commit: 50ed78b805bf86c73206935ea8a8b2dce4f60698
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-05-04T04:30:15Z
Releases: 7.4.1
Allow 60 in seconds fields of timestamp, time, interval input values.
Per recent discussion on pgsql-general, this is appropriate for spec
compliance, and has the nice side-effect of easing porting from old
pg_dump files that exhibit the 59.999=>60.000 roundoff problem.

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +12 −11
src/backend/utils/adt/nabstime.c modified +3 −3