pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Replace raw timezone source data with IANA's new compact format.
Date: Sat, 25 Nov 2017 20:31:08 +0000
Message-ID: <E1eIh6S-0007yW-JP@gemulon.postgresql.org> (raw)

Replace raw timezone source data with IANA's new compact format.

Traditionally IANA has distributed their timezone data in pure source
form, replete with extensive historical comments.  As of release 2017c,
they've added a compact single-file format that omits comments and
abbreviates command keywords.  This form is way shorter than the pure
source, 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 zic
output that's identical to what we were getting before.

Discussion: https://postgr.es/m/1915.1511210334@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/097b24cea68ac167a82bb617eb1844c8be4eaf24

Modified Files
--------------
src/timezone/Makefile          |    6 +-
src/timezone/README            |   19 +-
src/timezone/data/africa       | 1225 ------------
src/timezone/data/antarctica   |  340 ----
src/timezone/data/asia         | 3142 ------------------------------
src/timezone/data/australasia  | 1793 -----------------
src/timezone/data/backward     |  128 --
src/timezone/data/backzone     |  675 -------
src/timezone/data/etcetera     |   78 -
src/timezone/data/europe       | 3845 -------------------------------------
src/timezone/data/factory      |   10 -
src/timezone/data/northamerica | 3419 ---------------------------------
src/timezone/data/pacificnew   |   27 -
src/timezone/data/southamerica | 1793 -----------------
src/timezone/data/systemv      |   37 -
src/timezone/data/tzdata.zi    | 4146 ++++++++++++++++++++++++++++++++++++++++
16 files changed, 4160 insertions(+), 16523 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1eIh6S-0007yW-JP@gemulon.postgresql.org>
Permalink:  ../E1eIh6S-0007yW-JP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eIh6S-0007yW-JP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Replace raw timezone source data with IANA's new compact format.
  In-Reply-To: <E1eIh6S-0007yW-JP@gemulon.postgresql.org>
  References: <E1eIh6S-0007yW-JP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox