Extend the date type to support infinity and -infinity, analogously to
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Oct 2008 17:12:33 +0000 (17:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Oct 2008 17:12:33 +0000 (17:12 +0000)
commitd4c0fd5381662c2694a96c16e750c04e8cbd19e5
treec1c7db29c0f95824770200e7742fee30b98f0ed0
parent87c1e25825d59476fcdf5f9aab816a55268e52c3
Extend the date type to support infinity and -infinity, analogously to
the timestamp types.  Turns out this doesn't even reduce the available
range of dates, since the restriction to dates that work for Julian-date
arithmetic is much tighter than the int32 range anyway.  Per a longstanding
TODO item.
doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml
src/backend/utils/adt/date.c
src/backend/utils/adt/xml.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/date.h
src/test/regress/expected/date.out
src/test/regress/sql/date.sql