Allow 60 in seconds fields of timestamp, time, interval input values.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/datetime.c | modified | +12 −11 |
| src/backend/utils/adt/nabstime.c | modified | +3 −3 |