From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-patches@postgresql.org, Brendan Jurd <direvus@gmail.com>
Subject: Re: Additional current timestamp values
Date: Mon, 20 Mar 2006 18:02:06 -0500 (EST)
Message-ID: <200603202302.k2KN26J07336@candle.pha.pa.us> (raw)
In-Reply-To: <200603210000.07477.peter_e@gmx.net>
Peter Eisentraut wrote:
> 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?
No, we believe the standard requires it.
> Do we really need clock_timestamp?
Yes, because timeofday() returns a unix text string. Some people do
want a wallclock current timestamp.
--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com
+ If your life is a hard drive, Christ can be your backup. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pgman@candle.pha.pa.us, peter_e@gmx.net, direvus@gmail.com
Subject: Re: Additional current timestamp values
In-Reply-To: <200603202302.k2KN26J07336@candle.pha.pa.us>
References: <200603210000.07477.peter_e@gmx.net> <200603202302.k2KN26J07336@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox