Re: log_checkpoints, microseconds

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: log_checkpoints, microseconds
Дата
Msg-id 53463419.2090407@hogranch.com
обсуждение исходный текст
Ответ на log_checkpoints, microseconds  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: log_checkpoints, microseconds  (Greg Stark <stark@mit.edu>)
Список pgsql-bugs
On 4/9/2014 10:47 PM, Peter Geoghegan wrote:
>     if (log_checkpoints)
>         elog(DEBUG1, "checkpoint sync: number=%d file=%s time=%.3f msec",
>              processed,
>              FilePathName(seg->mdfd_vfd),
>              (double) elapsed / 1000);
>
>     break;    /* out of retry loop */
> }
>
> Did the author of this code really intend that "elapsed" microseconds
> be divided by 1000 like this?

thats just for the log, and you'll note it says "%.3f msec" in the entry.

--
john r pierce                                      37N 122W
somewhere on the middle of the left coast

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: log_checkpoints, microseconds
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql