forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita93bf45
committed
Allow times of 24:00:00 to match rounding behavior:
regression=# select '23:59:59.9'::time(0); time---------- 24:00:00(1 row)This is bad because:regression=# select '24:00:00'::time(0);ERROR: date/time field value out of range: "24:00:00"The last example now works.1 parentdbc214f commita93bf45
File tree
4 files changed
+27
-18
lines changed- doc/src/sgml
- src
- backend/utils/adt
- interfaces/ecpg/pgtypeslib
4 files changed
+27
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
| 1371 | + | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
1379 | | - | |
| 1379 | + | |
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
1117 | | - | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1118 | 1120 | | |
1119 | 1121 | | |
1120 | 1122 | | |
| |||
2243 | 2245 | | |
2244 | 2246 | | |
2245 | 2247 | | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
2246 | 2252 | | |
2247 | | - | |
2248 | | - | |
| 2253 | + | |
2249 | 2254 | | |
2250 | 2255 | | |
2251 | 2256 | | |
2252 | | - | |
2253 | | - | |
| 2257 | + | |
2254 | 2258 | | |
2255 | 2259 | | |
2256 | 2260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2095 | 2095 | | |
2096 | 2096 | | |
2097 | 2097 | | |
2098 | | - | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
2099 | 2101 | | |
2100 | 2102 | | |
2101 | 2103 | | |
| |||
3161 | 3163 | | |
3162 | 3164 | | |
3163 | 3165 | | |
3164 | | - | |
| 3166 | + | |
| 3167 | + | |
3165 | 3168 | | |
3166 | 3169 | | |
3167 | 3170 | | |
| |||
0 commit comments
Comments
(0)