Fix to_timestamp/to_date so that zero year input for Y, YY, or YYY
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Jan 2002 22:09:23 +0000 (22:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Jan 2002 22:09:23 +0000 (22:09 +0000)
commitbb2bff498cb453726da5fc95bdc169bd879ae311
treeed65bb451790e28c460b8df004aacb71c909f3f8
parente274325e02cffacf9e0e0717fcdffe7641de9049
Fix to_timestamp/to_date so that zero year input for Y, YY, or YYY
formats will be taken as 2000, not year zero.  Per bug report from
Aasmund Midttun Godal.  Fix from Karel Zak.
src/backend/utils/adt/formatting.c