- Notifications
You must be signed in to change notification settings - Fork5
Commit6af0488

Neil Conway
Fix a bug in input processing for the "interval" type. Previously,
"microsecond" and "millisecond" units were not considered valid inputby themselves, which caused inputs like "1 millisecond" to be rejectederroneously.Update the docs, add regression tests, and backport to 8.2 and 8.11 parente78720f commit6af0488
File tree
5 files changed
+66
-15
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include/utils
- test/regress
- expected
- sql
5 files changed
+66
-15
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
1880 | 1880 |
| |
1881 | 1881 |
| |
1882 | 1882 |
| |
1883 |
| - | |
| 1883 | + | |
| 1884 | + | |
1884 | 1885 |
| |
1885 | 1886 |
| |
1886 | 1887 |
| |
|
Lines changed: 14 additions & 2 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 |
| |
| |||
924 | 924 |
| |
925 | 925 |
| |
926 | 926 |
| |
| 927 | + | |
927 | 928 |
| |
928 | 929 |
| |
929 | 930 |
| |
| |||
1699 | 1700 |
| |
1700 | 1701 |
| |
1701 | 1702 |
| |
| 1703 | + | |
1702 | 1704 |
| |
1703 | 1705 |
| |
1704 | 1706 |
| |
| |||
2805 | 2807 |
| |
2806 | 2808 |
| |
2807 | 2809 |
| |
| 2810 | + | |
2808 | 2811 |
| |
2809 | 2812 |
| |
2810 | 2813 |
| |
| |||
2813 | 2816 |
| |
2814 | 2817 |
| |
2815 | 2818 |
| |
| 2819 | + | |
2816 | 2820 |
| |
2817 | 2821 |
| |
2818 | 2822 |
| |
| |||
2822 | 2826 |
| |
2823 | 2827 |
| |
2824 | 2828 |
| |
2825 |
| - | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
2826 | 2838 |
| |
2827 | 2839 |
| |
2828 | 2840 |
| |
|
Lines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
107 | 109 |
| |
108 |
| - | |
109 |
| - | |
110 |
| - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
111 | 113 |
| |
112 |
| - | |
113 |
| - | |
| 114 | + | |
| 115 | + | |
114 | 116 |
| |
115 | 117 |
| |
116 | 118 |
| |
| |||
175 | 177 |
| |
176 | 178 |
| |
177 | 179 |
| |
| 180 | + | |
| 181 | + | |
178 | 182 |
| |
179 |
| - | |
| 183 | + | |
180 | 184 |
| |
181 | 185 |
| |
182 | 186 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + |
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + |
0 commit comments
Comments
(0)