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 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq