forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0169c35
committed
Arrange to install a "posixrules" entry in our timezone database, so that
POSIX-style timezone specs that don't exactly match any database entry willbe treated as having correct USA DST rules. Also, document that this canbe changed if you want to use some other DST rules with a POSIX zone spec.We could consider changing localtime.c's TZDEFRULESTRING, but since thatfacility can only deal with one DST transition rule, it seems fairly uselessnow; might as well just plan to override it using a "posixrules" entry.Backpatch as far as 8.0. There isn't much we can do in 7.x ... either yourlibc gets it right, or it doesn't.1 parent754148d commit0169c35
2 files changed
+22
-9
lines changedLines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
2243 | 2243 |
| |
2244 | 2244 |
| |
2245 | 2245 |
| |
2246 |
| - | |
2247 |
| - | |
2248 |
| - | |
2249 |
| - | |
2250 |
| - | |
2251 |
| - | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
2252 | 2253 |
| |
2253 | 2254 |
| |
2254 | 2255 |
| |
| |||
2259 | 2260 |
| |
2260 | 2261 |
| |
2261 | 2262 |
| |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
2262 | 2271 |
| |
2263 | 2272 |
| |
2264 | 2273 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
| |||
32 | 36 |
| |
33 | 37 |
| |
34 | 38 |
| |
35 |
| - | |
| 39 | + | |
36 | 40 |
| |
37 | 41 |
| |
38 | 42 |
| |
|
0 commit comments
Comments
(0)