Re: now() more precise than the transaction
От | Greg Stark |
---|---|
Тема | Re: now() more precise than the transaction |
Дата | |
Msg-id | 871y2n7pce.fsf@stark.dyndns.tv обсуждение исходный текст |
Ответ на | Re: now() more precise than the transaction (Bruno Wolff III <bruno@wolff.to>) |
Ответы |
Re: now() more precise than the transaction
|
Список | pgsql-general |
Bruno Wolff III <bruno@wolff.to> writes: > On Tue, Feb 04, 2003 at 14:27:03 -0500, > RobertD.Stewart@mail.state.ky.us wrote: > > Try CURRENT_TIMESTAMP > > You should be able to get your time that way The documentation explicitly says now() is just an alias for current_timestamp. I don't know that it's right but I assume so. > I think he wants timeofday. CURRENT_TIMESTAMP should be the same as > now('transaction'), which I think he said wasn't what he wanted. timeofday appears to return text though. Do I just assume it will always cast cleanly to a timestamp? It doesn't seem to be in the same format as timestamps print though. > > -----Original Message----- Btw, no need to quote back the whole original message, I keep outgoing messages. -- greg
В списке pgsql-general по дате отправления: