gettime() - a timeofday() alternative

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема gettime() - a timeofday() alternative
Дата
Msg-id 37ed240d05080623101d1094a1@mail.gmail.com
обсуждение исходный текст
Ответы Re: gettime() - a timeofday() alternative  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Hi all,

I propose to add an internal function gettime() that transparently
returns the current system time, as a timestamptz with maximum
precision.

Calling gettime() would be a more elegant approach than calling
timeofday() and converting it to a timestamp, and avoids some of the
potential problems in that conversion (such as "Sat" being
misinterpreted as an Australian timezone).

I'm open to alternate suggestions for the name of the function.

If there are no objections, I'll start cooking up a patch right away.

--
BJ


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

Предыдущее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: unexpected pageaddr on startup/recovery
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: obtaining row locking information