Re: Additional current timestamp values - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Additional current timestamp values
Date
Msg-id 200603210000.07477.peter_e@gmx.net
Whole thread Raw
In response to Additional current timestamp values  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Additional current timestamp values  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian wrote:
> Rather than applying the above patch, I have implemented this TODO
> with the attached patch:
>
>     * Add transaction_timestamp(), statement_timestamp(),
> clock_timestamp() functionality

The most common complaint that I recall is that current_timestamp
returns the transaction timestamp rather than the statement timestamp,
which is what many expect.  How does your patch address that?

Do we really need clock_timestamp?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Additional current timestamp values
Next
From: Tom Lane
Date:
Subject: Re: Removal of backward-compatibility docs mentions