Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia.

Thomas G. Lockhart <lockhart@fourpalms.org>

Commit: 1ace93c46c34bdee903dede9dcf95948f4ce668a
Author: Thomas G. Lockhart <lockhart@fourpalms.org>
Date: 1999-01-20T16:29:39Z
Releases: 7.1.1
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

PathChange+/−
src/backend/utils/adt/datetime.c modified +5 −2
src/backend/utils/adt/dt.c modified +83 −14