Re: [GENERAL] timestamp weirdness

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [GENERAL] timestamp weirdness
Дата
Msg-id 3C5B3AD2.32889E18@fourpalms.org
обсуждение исходный текст
Список pgsql-hackers
> >The timestamp provided as a result of evaluating 'now' is the time of
> >the start of the transaction, not the instantaneous wall clock time (if
> >you want the latter there is a function to provide it).
> We are now thinking that what is happening is that the first write
> may have a long open transaction.
> What is the function you mention to provide instantaneous time?

lockhart=# select timestamp 'now', cast(timeofday() as timestamp);       ?column?        |         ?column?          
------------------------+---------------------------2002-02-01 17:01:19-08 | 2002-02-01 17:01:31.21-08

hth
                    - Thomas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Syscaches should store negative entries, too
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: PostgreSQL Final Release ... Monday?