Re: [GENERAL] timestamp weirdness - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [GENERAL] timestamp weirdness
Date
Msg-id 3C5B3AD2.32889E18@fourpalms.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Syscaches should store negative entries, too
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: PostgreSQL Final Release ... Monday?