Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones
Дата
Msg-id 7867.1219793881@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4377: casting result of timeofday() to timestamp fails in some timezones  ("" <tcook@blackducksoftware.com>)
Ответы Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones  ("Todd A. Cook" <tcook@blackducksoftware.com>)
Список pgsql-bugs
"" <tcook@blackducksoftware.com> writes:
> It looks like pg_timezone_abbrevs is missing some entries?

Well, it's intentional that the view not contain *every* abbrev,
since there are conflicts.  But I have noticed that the files under
src/timezone/tznames/ seem to be missing some abbreviations that are
in fact known in the zic database.  Somebody ought to go through that
info again sometime, first to find any missing abbrevs and second to
see if there are more that we could safely promote into the Default
list.  It sounds like a mind-numbingly tedious task though :-(

In the meantime, why aren't you just using clock_timestamp()?
timeofday() is deprecated.

            regards, tom lane

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

Предыдущее
От: ""
Дата:
Сообщение: BUG #4377: casting result of timeofday() to timestamp fails in some timezones
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones