Re: localtime ? - Mailing list pgsql-general

From Oliver Elphick
Subject Re: localtime ?
Date
Msg-id 557F2756.3080400@lfix.co.uk
Whole thread Raw
In response to Re: localtime ?  (James Cloos <cloos@jhcloos.com>)
Responses Re: localtime ?
List pgsql-general
On 15/06/15 20:44, James Cloos wrote:
>>>>>> "AK" == Adrian Klaver <adrian.klaver@aklaver.com> writes:
>
> AK> So what is at line 508 in /etc/postgresql/9.3/main/postgresql.conf?
>
> timezone = 'localtime'
>
> That is the same in the 9.4 conf, where everything defaults to utc as I
> desire.
>
> Those are Debian's default config files.  As I wrote the diff between
> the not working /etc/postgresql/9.3/ snd the working /etc/postgresql/9.4/
> is only things like 9.3 vs 9.4 in path names, the port number and the
> addition in 9.4 of dynamic_shared_memory_type = mmap.
>
> Whatever caused this is not in the config files.
>

localtime is a timezone but it appears simply to be a copy of the
current local timezone file in /etc/localtime. (This is a binary file
containing a timezone file.)

Is that file different between machines?

You can reconfigure the timezone for the machine:

  sudo dpkg-reconfigure tzdata


Oliver


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: localtime ?
Next
From: James Cloos
Date:
Subject: Re: localtime ?