aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-10-02 16:05:10 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-10-02 16:06:55 -0400
commitbb6d426699a68c5b0e7a540c1b0e170b42ca386c (patch)
treefb934a4aa1cc6c9df5a6317e326ee8fb4e714c52
parent5863d348a22f9b9e014cfcd36a705238b078b253 (diff)
downloadpostgresql-bb6d426699a68c5b0e7a540c1b0e170b42ca386c.tar.gz
postgresql-bb6d426699a68c5b0e7a540c1b0e170b42ca386c.zip
Re-alphabetize the win32_tzmap[] array.
The original intent seems to have been to sort case-insensitively by the Windows zone name, but various changes over the years did not get that memo. This commit just moves a few entries to restore exact alphabetic order, to ease comparison to the outputs of processing scripts. Back-patch to all supported branches, as is our usual practice for time zone data updates. Discussion: https://postgr.es/m/3266414.1633045628@sss.pgh.pa.us
-rw-r--r--src/bin/initdb/findtimezone.c70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/bin/initdb/findtimezone.c b/src/bin/initdb/findtimezone.c
index 120ad8f0122..733612e9ae7 100644
--- a/src/bin/initdb/findtimezone.c
+++ b/src/bin/initdb/findtimezone.c
@@ -832,26 +832,21 @@ static const struct
"Asia/Dhaka"
},
{
- /* (UTC+11:00) Bougainville Island */
- "Bougainville Standard Time", "Bougainville Daylight Time",
- "Pacific/Bougainville"
- },
- {
/* (UTC+03:00) Minsk */
"Belarus Standard Time", "Belarus Daylight Time",
"Europe/Minsk"
},
{
+ /* (UTC+11:00) Bougainville Island */
+ "Bougainville Standard Time", "Bougainville Daylight Time",
+ "Pacific/Bougainville"
+ },
+ {
/* (UTC-01:00) Cabo Verde Is. */
"Cabo Verde Standard Time", "Cabo Verde Daylight Time",
"Atlantic/Cape_Verde"
},
{
- /* (UTC+12:45) Chatham Islands */
- "Chatham Islands Standard Time", "Chatham Islands Daylight Time",
- "Pacific/Chatham"
- },
- {
/* (UTC-06:00) Saskatchewan */
"Canada Central Standard Time", "Canada Central Daylight Time",
"Canada/Saskatchewan"
@@ -913,11 +908,21 @@ static const struct
"America/Mexico_City"
},
{
+ /* (UTC+12:45) Chatham Islands */
+ "Chatham Islands Standard Time", "Chatham Islands Daylight Time",
+ "Pacific/Chatham"
+ },
+ {
/* (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi */
"China Standard Time", "China Daylight Time",
"Asia/Hong_Kong"
},
{
+ /* (UTC) Coordinated Universal Time */
+ "Coordinated Universal Time", "Coordinated Universal Time",
+ "UTC"
+ },
+ {
/* (UTC-05:00) Havana */
"Cuba Standard Time", "Cuba Daylight Time",
"America/Havana"
@@ -948,6 +953,11 @@ static const struct
"America/Araguaina"
},
{
+ /* (UTC-06:00) Easter Island */
+ "Easter Island Standard Time", "Easter Island Daylight Time",
+ "Pacific/Easter"
+ },
+ {
/* (UTC-05:00) Eastern Time (US & Canada) */
"Eastern Standard Time", "Eastern Daylight Time",
"US/Eastern"
@@ -958,11 +968,6 @@ static const struct
"America/Mexico_City"
},
{
- /* (UTC-06:00) Easter Island */
- "Easter Island Standard Time", "Easter Island Daylight Time",
- "Pacific/Easter"
- },
- {
/* (UTC+02:00) Cairo */
"Egypt Standard Time", "Egypt Daylight Time",
"Africa/Cairo"
@@ -1073,6 +1078,11 @@ static const struct
"America/Punta_Arenas"
},
{
+ /* (UTC+08:00) Kuala Lumpur, Singapore */
+ "Malay Peninsula Standard Time", "Malay Peninsula Daylight Time",
+ "Asia/Kuala_Lumpur"
+ },
+ {
/* (UTC-09:30) Marquesas Islands */
"Marquesas Standard Time", "Marquesas Daylight Time",
"Pacific/Marquesas"
@@ -1298,6 +1308,11 @@ static const struct
"America/Miquelon"
},
{
+ /* (UTC+11:00) Sakhalin */
+ "Sakhalin Standard Time", "Sakhalin Daylight Time",
+ "Asia/Sakhalin"
+ },
+ {
/* (UTC+13:00) Samoa */
"Samoa Standard Time", "Samoa Daylight Time",
"Pacific/Samoa"
@@ -1318,16 +1333,6 @@ static const struct
"Asia/Bangkok"
},
{
- /* (UTC+08:00) Kuala Lumpur, Singapore */
- "Malay Peninsula Standard Time", "Malay Peninsula Daylight Time",
- "Asia/Kuala_Lumpur"
- },
- {
- /* (UTC+11:00) Sakhalin */
- "Sakhalin Standard Time", "Sakhalin Daylight Time",
- "Asia/Sakhalin"
- },
- {
/* (UTC+02:00) Harare, Pretoria */
"South Africa Standard Time", "South Africa Daylight Time",
"Africa/Harare"
@@ -1368,16 +1373,16 @@ static const struct
"Asia/Tokyo"
},
{
- /* (UTC+13:00) Nuku'alofa */
- "Tonga Standard Time", "Tonga Daylight Time",
- "Pacific/Tongatapu"
- },
- {
/* (UTC+07:00) Tomsk */
"Tomsk Standard Time", "Tomsk Daylight Time",
"Asia/Tomsk"
},
{
+ /* (UTC+13:00) Nuku'alofa */
+ "Tonga Standard Time", "Tonga Daylight Time",
+ "Pacific/Tongatapu"
+ },
+ {
/* (UTC+09:00) Chita */
"Transbaikal Standard Time", "Transbaikal Daylight Time",
"Asia/Chita"
@@ -1408,11 +1413,6 @@ static const struct
"US/Arizona"
},
{
- /* (UTC) Coordinated Universal Time */
- "Coordinated Universal Time", "Coordinated Universal Time",
- "UTC"
- },
- {
/* (UTC+12:00) Coordinated Universal Time+12 */
"UTC+12", "UTC+12",
"Etc/GMT+12"