Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia.
Thomas G. Lockhart <lockhart@fourpalms.org>
Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia. They are not corrected now. Allow the date type to accept BC dates. Share more date/time validation declarations through dt.h.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/datetime.c | modified | +5 −2 |
| src/backend/utils/adt/dt.c | modified | +83 −14 |