forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b0875a
committed
Expand the allowed range of timezone offsets to +/-15:59:59 from Greenwich.
We used to only allow offsets less than +/-13 hours, then it was +/14,then it was +/-15. That's still not good enough though, as per today's bugreport from Patric Bechtel. This time I actually looked through the Olsontimezone database to find the largest offsets used anywhere. The winnersare Asia/Manila, at -15:56:00 until 1844, and America/Metlakatla, at+15:13:42 until 1867. So we'd better allow offsets less than +/-16 hours.Given the history, we are way overdue to have some greppable #definesymbols controlling this, so make some ... and also remove an obsoletecomment that didn't get fixed the last time.Back-patch to all supported branches.1 parentb1d01f9 commit9b0875a
File tree
3 files changed
+14
-7
lines changed- src
- backend/utils/adt
- include/utils
3 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1924 | 1924 | | |
1925 | 1925 | | |
1926 | 1926 | | |
1927 | | - | |
1928 | | - | |
1929 | | - | |
| 1927 | + | |
| 1928 | + | |
1930 | 1929 | | |
1931 | 1930 | | |
1932 | 1931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2699 | 2699 | | |
2700 | 2700 | | |
2701 | 2701 | | |
2702 | | - | |
2703 | | - | |
2704 | | - | |
2705 | 2702 | | |
2706 | 2703 | | |
2707 | 2704 | | |
| |||
2746 | 2743 | | |
2747 | 2744 | | |
2748 | 2745 | | |
2749 | | - | |
| 2746 | + | |
| 2747 | + | |
2750 | 2748 | | |
2751 | 2749 | | |
2752 | 2750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
| |||
0 commit comments
Comments
(0)