git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 38c9a59) | patch
Doc: document EXTRACT(JULIAN ...), improve Julian Date explanation.
2021年4月26日 15:50:35 +0000 (11:50 -0400)
2021年4月26日 15:50:35 +0000 (11:50 -0400)
commit 79a5928ebcb726b7061bf265b5c6990e835e8c4f
Doc: document EXTRACT(JULIAN ...), improve Julian Date explanation.

For some reason, the "julian" option for extract()/date_part() has
never gotten listed in the manual. Also, while Appendix B mentioned
in passing that we don't conform to the usual astronomical definition
that a Julian date starts at noon UTC, it was kind of vague about what
we do instead. Clarify that, and add an example showing how to get
the astronomical definition if you want it.

It's been like this for ages, so back-patch to all supported branches.

Discussion: https://postgr.es/m/1197050.1619123213@sss.pgh.pa.us
doc/src/sgml/datetime.sgml diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /