Re: clock_timestamp() and transaction_timestamp() function

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: clock_timestamp() and transaction_timestamp() function
Дата
Msg-id 200312010254.hB12se322145@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: clock_timestamp() and transaction_timestamp() function  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: clock_timestamp() and transaction_timestamp() function
Список pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > Yes, user-visible.  They give additional current timestamp information.
> > transaction_timestamp() is the same as current_timestamp,
> > clock_timestamp is the same as gettimeofday(), and statement_timestamp
> > is a new one that shows statement start time.
>
> And what would be the point of that?

The goal was to give a unified API to the various time measurements:

    [clock|statement|transaction]_timestamp


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [BUGS] Bug in byteaout code in all PostgreSQL versions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: export FUNC_MAX_ARGS as a read-only GUC variable (was: