- Notifications
You must be signed in to change notification settings - Fork5
Commitd059999
committed
Fix DecodeDateTime to allow timezone to appear before year. This had
historically worked in some but not all cases, but as of 8.2 it failed for alltimezone formats. Fix, and add regression test cases to catch futureregressions in this area. Per gripe from Adam Witney.1 parente41c7bb commitd059999
File tree
3 files changed
+51
-5
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+51
-5
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
721 | 721 |
| |
722 | 722 |
| |
723 | 723 |
| |
724 |
| - | |
725 |
| - | |
| 724 | + | |
| 725 | + | |
726 | 726 |
| |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
727 | 731 |
| |
728 |
| - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
729 | 735 |
| |
730 | 736 |
| |
731 | 737 |
| |
|
Lines changed: 33 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
156 | 188 |
| |
157 | 189 |
| |
158 | 190 |
| |
| |||
724 | 756 |
| |
725 | 757 |
| |
726 | 758 |
| |
727 |
| - | |
| 759 | + | |
728 | 760 |
| |
729 | 761 |
| |
730 | 762 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
130 | 138 |
| |
131 | 139 |
| |
132 | 140 |
| |
|
0 commit comments
Comments
(0)