Re: how to add seconds to a TimestampTz

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: how to add seconds to a TimestampTz
Дата
Msg-id 20070315142023.GD5645@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: how to add seconds to a TimestampTz  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
Grzegorz Jaskiewicz wrote:
> 
> On Mar 15, 2007, at 5:58 AM, Tom Lane wrote:
> 
> >
> >?  I'm not sure what would be the most convenient realization
> >of this at the C level, but please stay away from time_t ...
> 
> what's wrong with time_t ? Does postgres has some sort of "time" API,  
> that can be used instead?

Sure.  See TimestampTz (as mentioned in the subject).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Eddie Stanley
Дата:
Сообщение: Re: My honours project - databases using dynamically attached entity-properties
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Additional global stats for pg_database?