Re: Strange timezone 'math' in 9.6.8

From: Ervin Weber <webervin(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Strange timezone 'math' in 9.6.8
Date: 2018-03-28 16:59:16
Message-ID: CAFC4ZFjwaxZ6i6TmxNPoruPCPqiXFwO9Sega9pMxkv5LHNbZLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you for explantations.

Best, Ervin.

On 28 March 2018 at 17:17, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> writes:
>> Ervin Weber wrote:
>>> staging=# select now(), now() at time zone 'fubar+167';
>>> [works]
>>> staging=# select now(), now() at time zone 'fubar+168';
>>> ERROR: time zone "fubar+168" not recognized
>
>> The cause of the error is the following code in src/timezone/localtime.c,
>> in function "getsecs":
>
> Also note that that isn't our code; it's lock stock and barrel from the
> IANA tzcode distribution,
> https://www.iana.org/time-zones
>
> So we are (probably) not the only software that will behave like this.
>
> regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2018-03-28 17:34:13 Re: postgres 9.6.8 to 10 on Ubuntu 16.04.4 LTS --- tsearch2 unloadable...
Previous Message Wells Oliver 2018-03-28 16:15:58 Re: postgres 9.6.8 to 10 on Ubuntu 16.04.4 LTS --- tsearch2 unloadable...