Hi Thomas,

On Wed, Mar 10, 2021 at 04:52:01AM +0000, Thomas Munro wrote:
> pgbench: Improve time logic.
> 
> Instead of instr_time (struct timespec) and the INSTR_XXX macros,
> introduce pg_time_usec_t and use integer arithmetic.  Don't include the
> connection time in TPS unless using -C mode, but report it separately.

The buildfarm is complaining after this commit with lapwing:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing&dt=2021-03-10%2006%3A40%3A10
pgbench.c:3569:6: error: format '%ld' expects argument of type 'long
int', but argument 6 has type 'pg_time_usec_t' [-Werror=format]
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to