Re: gettime() - a timeofday() alternative

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: gettime() - a timeofday() alternative
Дата
Msg-id 37ed240d05081312511423cb58@mail.gmail.com
обсуждение исходный текст
Ответ на Re: gettime() - a timeofday() alternative  (Brendan Jurd <direvus@gmail.com>)
Ответы Re: gettime() - a timeofday() alternative  (mark@mark.mielke.cc)
Re: gettime() - a timeofday() alternative  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: win32 _dosmaperr()
Следующее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: gettime() - a timeofday() alternative