]> granicus.if.org Git - postgresql/commit
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:14 +0000 (23:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Sep 2010 03:48:14 +0000 (23:48 -0400)
commit6f664c1af4ebb8d4f131af04d5762ac6f720b70b
tree7958a16268e02fed536c58127192d4d41b16d923
parente482ebdf0bbe90786612c7baa2110220f738429f
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