Re: timestamp sum question.

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: timestamp sum question.
Дата
Msg-id alpine.BSF.2.00.0811261520150.21227@thebighonker.lerctr.org
обсуждение исходный текст
Ответ на timestamp sum question.  ("Keith Turner" <kturner@cloudsystems.com>)
Список pgsql-novice
On Wed, 26 Nov 2008, Keith Turner wrote:

[snip]
> Is it even possible to use sum for timestamps in postgres? Is there a
> way to turn the timestamp values to integers and back again?
Look at extract(epoch from ....) to get the number of seconds.
--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

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

Предыдущее
От: "Keith Turner"
Дата:
Сообщение: Re: timestamp sum question.
Следующее
От: Bob McConnell
Дата:
Сообщение: Problems updating to 8.3.5