Re: Strange behavior with timestamps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange behavior with timestamps
Дата
Msg-id 7088.984437604@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange behavior with timestamps  (Marc Wrubleski <mlwruble@sorexsoftware.com>)
Список pgsql-admin
Marc Wrubleski <mlwruble@sorexsoftware.com> writes:
> pulver=# update connections set starttime = timestamp 'epoch' + reltime
> '984685319';

That calculation does not do what you seem to think it does.  (Hint:
reltime is not simply a number of seconds.)

Try just timestamp(984685319) instead.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Use of the LIMIT clause ?
Следующее
От: "Peter Schuller"
Дата:
Сообщение: Authentication by password