From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Palle Girgensohn <girgen(at)pingpong(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Chris Withers <chris(at)withers(dot)org>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, "pgsql(at)freebsd(dot)org" <pgsql(at)freebsd(dot)org> |
Subject: | Re: here does postgres take its timezone information from? |
Date: | 2019-11-13 00:45:59 |
Message-ID: | CA+hUKGKDn_eeLHrrtO6N-wQCcGwYefU8j+Qar=h4+wAoUhiBNg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Nov 13, 2019 at 3:40 AM Palle Girgensohn <girgen(at)pingpong(dot)net> wrote:
> The decision to use postgresql's tzdata is quite old. It was based on the assumption that postgres is updated more frequently than the operating system, and that for that reason it was better to use postgresql's tzdata, since it would be more accurate more often. This is probably not true anymore, so I agree it should probably be changed to default=system-tzdata on FreeBSD.
>
> I will commit an upgrade in Thursday, and unless anybody raise their voice against it, I will change the default setting then.
Thanks!
FreeBSD users already have the choice between zoneinfo from base or
the misc/zoneinfo port if for some reason they want to control tzdata
updates separately. PostgreSQL and FreeBSD both track tzdata closely,
and both pushed a commit for version 2019c into their stable branches
within a couple of weeks of it being released, so I don't foresee any
problem with this change, and staying in sync with libc seems to
outweigh any other concerns IMHO.
https://www.iana.org/time-zones
https://github.com/postgres/postgres/tree/REL_12_STABLE/src/timezone/data
https://github.com/freebsd/freebsd/tree/stable/12/contrib/tzdata
From | Date | Subject | |
---|---|---|---|
Next Message | Matthias Apitz | 2019-11-13 06:26:44 | Re: type SERIAL in C host-struct |
Previous Message | Andreas Joseph Krogh | 2019-11-12 23:20:36 | Sv: DELETE Query Hang |