Re: Strange timezone 'math' in 9.6.8

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange timezone 'math' in 9.6.8
Дата
Msg-id 19863.1522246651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strange timezone 'math' in 9.6.8  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Strange timezone 'math' in 9.6.8
Список pgsql-admin
Laurenz Albe <laurenz.albe@cybertec.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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Strange timezone 'math' in 9.6.8
Следующее
От: Wells Oliver
Дата:
Сообщение: Re: postgres 9.6.8 to 10 on Ubuntu 16.04.4 LTS --- tsearch2 unloadable...