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

Поиск
Список
Период
Сортировка
От Todd A. Cook
Тема Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones
Дата
Msg-id 48B55EC5.8080805@blackducksoftware.com
обсуждение исходный текст
Ответ на Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #4377: casting result of timeofday() to timestamp fails in some timezones  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Tom Lane wrote:
>
> In the meantime, why aren't you just using clock_timestamp()?
> timeofday() is deprecated.

I am using clock_timestamp() now.  The use of timeofday() was from the era
when 8.0 was hot stuff.

BTW, the word "deprecated" does not appear on the docs page where timeofday()
is listed (http://www.postgresql.org/docs/8.3/static/functions-datetime.html),
and there doesn't seem to be anything in the context of the 3 occurrences of
"timeofday" that would imply it is deprecated.

-- todd

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4381: Postgresql daemon won't stay in the foreground
Следующее
От: Tom Wright
Дата:
Сообщение: Re: BUG #4381: Postgresql daemon won't stay in the foreground