forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7cce222
committed
Replace raw timezone source data with IANA's new compact format.
Traditionally IANA has distributed their timezone data in pure sourceform, replete with extensive historical comments. As of release 2017c,they've added a compact single-file format that omits comments andabbreviates command keywords. This form is way shorter than the puresource, even before considering its allegedly better compressibility.Hence, let's distribute the data in that form rather than pure source.I'm pushing this now, rather than at the next timezone database update,so that it's easy to confirm that this data file produces compiled zicoutput that's identical to what we were getting before.Discussion:https://postgr.es/m/1915.1511210334@sss.pgh.pa.us1 parentd3f4e8a commit7cce222
File tree
16 files changed
+4160
-16523
lines changed- src/timezone
- data
16 files changed
+4160
-16523
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 24 | + | |
| 25 | + | |
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
|
Lines changed: 12 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
| |||
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
20 |
| - | |
21 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 |
| |
23 |
| - | |
24 |
| - | |
| 28 | + | |
| 29 | + | |
25 | 30 |
| |
26 | 31 |
| |
27 | 32 |
| |
|
0 commit comments
Comments
(0)