Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing
Дата
Msg-id CAHGQGwGtRyX4Qrr-6XkFGpNxcdGs-gBuv4Cqqyco9+kict+j+A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing
Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing
Список pgsql-hackers
On Wed, Mar 28, 2012 at 9:19 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Tue, Mar 27, 2012 at 10:10 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Wed, Mar 28, 2012 at 5:17 AM, Robert Haas <rhaas@postgresql.org> wrote:
>>> pg_test_timing utility, to measure clock monotonicity and timing cost.
>>
>> When I compiled this, I got a compiler warning. Attached patch
>> silences the warning.
>
> Unfortunately, that *produces* a warning on my machine.  Normally, I
> think we handle this using INT64_FORMAT, but the fact that it's %10ld
> here and not just %lld makes that awkward.  I guess we maybe need to
> insert some kludgy workaround here - write it into a separate buffer,
> and then blank-pad it, or something like that.

This seems a simplest workaround. How about attached patch?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role)
Следующее
От: Noah Misch
Дата:
Сообщение: Re: 9.2 commitfest closure (was Command Triggers, v16)