forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit79a5928
committed
Doc: document EXTRACT(JULIAN ...), improve Julian Date explanation.
For some reason, the "julian" option for extract()/date_part() hasnever gotten listed in the manual. Also, while Appendix B mentionedin passing that we don't conform to the usual astronomical definitionthat a Julian date starts at noon UTC, it was kind of vague about whatwe do instead. Clarify that, and add an example showing how to getthe 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 parent38c9a59 commit79a5928
2 files changed
+61
-7
lines changedLines 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 |
| |
|
Lines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7539 | 7539 |
| |
7540 | 7540 |
| |
7541 | 7541 |
| |
7542 |
| - | |
| 7542 | + | |
| 7543 | + | |
7543 | 7544 |
| |
7544 | 7545 |
| |
7545 | 7546 |
| |
| |||
9609 | 9610 |
| |
9610 | 9611 |
| |
9611 | 9612 |
| |
| 9613 | + | |
| 9614 | + | |
| 9615 | + | |
| 9616 | + | |
| 9617 | + | |
| 9618 | + | |
| 9619 | + | |
| 9620 | + | |
| 9621 | + | |
| 9622 | + | |
| 9623 | + | |
| 9624 | + | |
| 9625 | + | |
| 9626 | + | |
| 9627 | + | |
| 9628 | + | |
| 9629 | + | |
| 9630 | + | |
| 9631 | + | |
9612 | 9632 |
| |
9613 | 9633 |
| |
9614 | 9634 |
| |
|
0 commit comments
Comments
(0)