forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfea3ea1
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 parent8db2e82 commitfea3ea1
File tree
3 files changed
+14
-7
lines changed- src
- backend/utils/adt
- include/utils
3 files changed
+14
-7
lines changedLines changed: 2 additions & 3 deletions
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 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2702 | 2702 |
| |
2703 | 2703 |
| |
2704 | 2704 |
| |
2705 |
| - | |
2706 |
| - | |
2707 |
| - | |
2708 | 2705 |
| |
2709 | 2706 |
| |
2710 | 2707 |
| |
| |||
2749 | 2746 |
| |
2750 | 2747 |
| |
2751 | 2748 |
| |
2752 |
| - | |
| 2749 | + | |
| 2750 | + | |
2753 | 2751 |
| |
2754 | 2752 |
| |
2755 | 2753 |
| |
|
Lines changed: 10 additions & 0 deletions
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)