]> granicus.if.org Git - postgresql/commit
Improve documentation around historical calendar rules.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Apr 2012 22:28:52 +0000 (18:28 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Apr 2012 22:28:52 +0000 (18:28 -0400)
commit92df2203437603d40417fe711c3cb7066ac4fdf5
tree0b8042cf098c7fbab15936c7bde6c1680d8e5068
parent7c85aa39fc08df44e1ce67e651bda4cf7e331580
Improve documentation around historical calendar rules.

Get rid of section 8.5.6 (Date/Time Internals), which appears to confuse
people more than it helps, and anyway discussion of Postgres' internal
datetime calculation methods seems pretty out of place here.  Instead,
make datatype.sgml just say that we follow the Gregorian calendar (a bit
of specification not previously present anywhere in that chapter :-()
and link to the History of Units appendix for more info.  Do some mild
editorialization on that appendix, too, to make it clearer that we are
following proleptic Gregorian calendar rules rather than anything more
historically accurate.

Per a question from Florence Cousin and subsequent discussion in
pgsql-docs.
doc/src/sgml/datatype.sgml
doc/src/sgml/datetime.sgml