Re: uptime function to postmaster

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: uptime function to postmaster
Дата
Msg-id 14549.1118080799@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: uptime function to postmaster  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I think we should return intervals only when we can't return meaningful
> timestamp values. I don't have any logic to back up that opinion, though.

It's easy: a value measured as an interval will be obsolete by the time
it's delivered to the client.  A start timestamp is actually meaningful
information that will still be correct when used; uptime is fragile.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: uptime function to postmaster
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: logfile for psql patch update