Re-allow input of Julian dates prior to 0001-01-01 AD.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Sep 2010 03:48:20 +0000 (23:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Sep 2010 03:48:20 +0000 (23:48 -0400)
commitfcb2326180ebad04106f745f646c4e02bc9ff10f
tree7b3c3fb35dabc0ab576fce8af560c3b022c6d548
parent41b04faf7d5aacbf613fc5ab6cf85899b99ef9f8
Re-allow input of Julian dates prior to 0001-01-01 AD.

This was unintentionally broken in 8.4 while tightening up checking of
ordinary non-Julian date inputs to forbid references to "year zero".
Per bug #5672 from Benjamin Gigot.
src/backend/utils/adt/datetime.c
src/test/regress/expected/horology.out
src/test/regress/sql/horology.sql