Re: Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing
Marko Kreen <markokr@gmail.com>
From: Marko Kreen <markokr@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-03-28T12:46:26Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_test_timing utility, to measure clock monotonicity and timing cost.
- cee523867db2 9.2.0 cited
On Wed, Mar 28, 2012 at 08:19:37AM -0400, Robert Haas 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. How about: ".. %10" INT64_FORMAT " .. " ? -- marko