Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)

From: Christoph Berg <myon(at)debian(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
Date: 2019-06-05 08:47:35
Message-ID: 20190605084735.GC15829@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Re: Tom Lane 2019-06-04 <65800(dot)1559662051(at)sss(dot)pgh(dot)pa(dot)us>
> > There is something wrong here. On Debian Buster/unstable, using
> > system tzdata (2019a-1), if /etc/timezone is "Etc/UTC":
>
> Is your build using --with-system-tzdata? If so, which tzdb
> release is the system on, and is it a completely stock copy
> of that release?

It's using system tzdata (2019a-1).

There's one single patch on top of that:

https://sources.debian.org/src/tzdata/2019a-1/debian/patches/

> BTW, does Debian set up /etc/timezone as a symlink, by any chance,
> rather than a copy or hard link? If it's a symlink, we could improve
> matters by teaching identify_system_timezone() to inspect it.

In the meantime I realized that I was only testing /etc/timezone
(which is a plain file with just the zone name), while not touching
/etc/localtime at all. In this environment, it's a symlink:

lrwxrwxrwx 1 root root 27 Mär 28 14:49 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC

... but the name still gets canonicalized to Etc/UCT or UCT.

Christoph

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2019-06-05 09:06:14 pgsql: Fix confusing NOTICE text in REINDEX CONCURRENTLY
Previous Message David Rowley 2019-06-05 06:35:52 pgsql: Fix incorrect index behavior in COPY FROM with partitioned table

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-06-05 09:08:46 Re: Confusing error message for REINDEX TABLE CONCURRENTLY
Previous Message Juan José Santamaría Flecha 2019-06-05 07:22:09 Re: MSVC Build support with visual studio 2019