forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbc93919
committed
Reject year zero during datetime input, except when it's a 2-digit year
(then it means 2000 AD). Formerly we silently interpreted this as 1 BC,which at best is unwarranted familiarity with the implementation.It's barely possible that some app somewhere expects the old behavior,though, so we won't back-patch this into existing release branches.1 parent05506fc commitbc93919
1 file changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
2138 | 2138 | | |
2139 | 2139 | | |
2140 | 2140 | | |
2141 | | - | |
2142 | 2141 | | |
2143 | 2142 | | |
2144 | | - | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
2151 | 2148 | | |
2152 | 2149 | | |
2153 | 2150 | | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | 2157 | | |
2158 | 2158 | | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
2159 | 2165 | | |
2160 | 2166 | | |
2161 | 2167 | | |
| |||
0 commit comments
Comments
(0)