From: Brendan Jurd <direvus@gmail.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
To: pgsql-hackers@postgresql.org
Subject: Re: gettime() - a timeofday() alternative
Date: Sun, 14 Aug 2005 05:51:16 +1000
Message-ID: <37ed240d05081312511423cb58@mail.gmail.com> (raw)
In-Reply-To: <200508131435.j7DEZU013689@candle.pha.pa.us>
References: <37ed240d0508122330105cbf1@mail.gmail.com>
<200508131435.j7DEZU013689@candle.pha.pa.us>
On 8/14/05, Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> Brendan Jurd wrote:
> > > We already have a TODO for this:
> > >
> > > * Add transaction_timestamp(), statement_timestamp(), clock_timestamp()
> > > functionality
> >
> > I like the idea of having a function for statement start time. I
> > think I'll incorporate it into my patch.
> >
Regarding the statement_timestamp() ... if the entire query path is
parser -> rewriter -> planner/optimiser -> executor, what point in
that path would be considered the true start of the "statement"? I
would assume that it's right at the beginning, when it is first handed
to the parser, but that's a very naive assumption.
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: direvus@gmail.com, pgman@candle.pha.pa.us
Subject: Re: gettime() - a timeofday() alternative
In-Reply-To: <37ed240d05081312511423cb58@mail.gmail.com>
References: <37ed240d0508122330105cbf1@mail.gmail.com> <200508131435.j7DEZU013689@candle.pha.pa.us> <37ed240d05081312511423cb58@mail.gmail.com>
* 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