Re: timezone change after upgrade from postgres 9.1 to 9.3?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "Anand Kumar, Karthik" <Karthik(dot)AnandKumar(at)classmates(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: timezone change after upgrade from postgres 9.1 to 9.3?
Date: 2014-01-30 23:45:06
Message-ID: 52EAE402.9030609@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/30/2014 03:17 PM, Anand Kumar, Karthik wrote:
> Hi,
>
> We just upgraded our postgres database from 9.1 to 9.3. And noticed that
> the timezone changed from PST to GMT.
> Is that known behavior? Has anyone else run into it, or am I just
> missing something?

Well there where changes in the way timezones are set in 9.2.

http://www.postgresql.org/docs/9.3/interactive/release-9-2.html

Identify the server time zone during initdb, and set postgresql.conf
entries timezone and log_timezone accordingly (Tom Lane)

This avoids expensive time zone probes during server start.

>
> I've verified the server's timezone is right, and nothing in the
> postgres user's profile is changing the timezone at startup. The
> postgres start up scripts aren't setting the timezone either, from what
> I can see.

What is the server timezone?

What is the timezone value in postgresql.conf?

Where are you seeing the change?

>
> Thanks,
> Karthik

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-01-31 00:17:14 Re: timezone change after upgrade from postgres 9.1 to 9.3?
Previous Message Anand Kumar, Karthik 2014-01-30 23:17:49 timezone change after upgrade from postgres 9.1 to 9.3?