pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gugoll@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15547: default timezone on servers running while time changed from PDT to PST reverting to UTC.
Date: Tue, 11 Dec 2018 19:46:44 -0500
Message-ID: <28850.1544575604@sss.pgh.pa.us> (raw)
In-Reply-To: <15547-078cffc281899f40@postgresql.org>
References: <15547-078cffc281899f40@postgresql.org>

=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> I have a bunch of servers that never restarted in the past couple of months
> and had postgres running since before Nov. 4th and I discovered that their
> default timezone changed in the background.

Hmph.  Ordinarily I'd expect that the default zone data would be cached
in the postmaster and inherited via fork() by backends, so that as long
as you didn't do something like change the timezone setting in
postgresql.conf, the behavior would be stable until postmaster restart.
(People who live in zones with frequent DST law changes have complained
of that ... but I'm not very much in a hurry to change it.)

So it's not at all clear what happened here.  I think that Red Hat did
push out a tzdata update in early November, but even so, the behavior
of America/Los_Angeles shouldn't have changed.  *Maybe* this could
be explained by having restarted those postmasters during the tiny
interval where the package update was happening and there wasn't anything
valid for /etc/localtime to point at --- but that stretches credulity.

If you can figure out a way to reproduce this, we'd be interested to
hear what it is.

			regards, tom lane




view thread (5+ messages)  latest in thread

Message-ID: <28850.1544575604@sss.pgh.pa.us>
Permalink:  ../28850.1544575604@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28850.1544575604@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gugoll@gmail.com
  Subject: Re: BUG #15547: default timezone on servers running while time changed from PDT to PST reverting to UTC.
  In-Reply-To: <28850.1544575604@sss.pgh.pa.us>
  References: <15547-078cffc281899f40@postgresql.org> <28850.1544575604@sss.pgh.pa.us>

* 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