Re: [HACKERS] pgbench --progress-timestamp no longer works correctly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] pgbench --progress-timestamp no longer works correctly
Дата
Msg-id 26871.1491915771@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] pgbench --progress-timestamp no longer works correctly  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> --progress-timestamp is supposed to make -P report a Unix Epoch time stamp,
> for easy correlation with the entries in other log files (like the postgres
> server log file using %n).

> But that broke in this commit:

> commit 1d63f7d2d180c8708bc12710254eb7b45823440f
> Author: Tom Lane <tgl@sss.pgh.pa.us>
> Date:   Mon Jan 2 13:41:51 2017 -0500

>     Use clock_gettime(), if available, in instr_time measurements.

Fixed, thanks.  I suspect I missed this spot because it randomly used
INSTR_TIME_GET_MILLISEC instead of INSTR_TIME_GET_DOUBLE; but for
whatever reason, I missed it.

(So presumably, this option never worked properly on Windows ... but
it will now.)
        regards, tom lane



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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] Partitioned tables and relfilenode
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Some thoughts about SCRAM implementation