Commit ec5bab9
committed
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.us1 parent 8019fcb commit ec5bab9Copy full SHA for ec5bab9
File tree
Expand file treeCollapse file tree
2 files changed
+61
-7
lines changedOpen diff view settings
Filter options
- doc/src/sgml
Expand file treeCollapse file tree
2 files changed
+61
-7
lines changedOpen diff view settings
Collapse file
+40-6Lines changed: 40 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
763 | 763 | |
764 | 764 | |
765 | 765 | |
766 | | - |
767 | | - |
768 | | - |
769 | 766 | |
770 | 767 | |
771 | 768 | |
| ||
868 | 865 | |
869 | 866 | |
870 | 867 | |
| 868 | + |
| 869 | + |
| 870 | + |
| 871 | + |
| 872 | + |
| 873 | + |
| 874 | + |
| 875 | + |
| 876 | + |
871 | 877 | |
872 | | - |
873 | | - |
| 878 | + |
| 879 | + |
| 880 | + |
874 | 881 | |
875 | 882 | |
876 | 883 | |
877 | 884 | |
878 | 885 | |
| 886 | + |
| 887 | + |
| 888 | + |
879 | 889 | |
880 | 890 | |
881 | 891 | |
| ||
891 | 901 | |
892 | 902 | |
893 | 903 | |
894 | | - |
| 904 | + |
| 905 | + |
| 906 | + |
| 907 | + |
| 908 | + |
| 909 | + |
| 910 | + |
| 911 | + |
| 912 | + |
| 913 | + |
| 914 | + |
| 915 | + |
| 916 | + |
| 917 | + |
| 918 | + |
| 919 | + |
| 920 | + |
| 921 | + |
| 922 | + |
| 923 | + |
| 924 | + |
| 925 | + |
| 926 | + |
| 927 | + |
| 928 | + |
895 | 929 | |
896 | 930 | |
897 | 931 | |
|
Collapse file
+21-1Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7404 | 7404 | |
7405 | 7405 | |
7406 | 7406 | |
7407 | | - |
| 7407 | + |
| 7408 | + |
7408 | 7409 | |
7409 | 7410 | |
7410 | 7411 | |
| ||
9452 | 9453 | |
9453 | 9454 | |
9454 | 9455 | |
| 9456 | + |
| 9457 | + |
| 9458 | + |
| 9459 | + |
| 9460 | + |
| 9461 | + |
| 9462 | + |
| 9463 | + |
| 9464 | + |
| 9465 | + |
| 9466 | + |
| 9467 | + |
| 9468 | + |
| 9469 | + |
| 9470 | + |
| 9471 | + |
| 9472 | + |
| 9473 | + |
| 9474 | + |
9455 | 9475 | |
9456 | 9476 | |
9457 | 9477 | |
|
0 commit comments