| From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: localtime ? |
| Date: | 2015-06-15 19:28:22 |
| Message-ID: | 557F2756.3080400@lfix.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 15/06/15 20:44, James Cloos wrote:
>>>>>> "AK" == Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | James Cloos | 2015-06-15 19:37:25 | Re: localtime ? |
| Previous Message | Adrian Klaver | 2015-06-15 19:19:34 | Re: localtime ? |