Try to fix portability bugs in recent pgbench commits.

Thomas Munro <tmunro@postgresql.org>

Commit: 68b34b2338f013cb025dea360b37a3b4fc930179
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-03-10T08:12:11Z
Releases: 14.0
Try to fix portability bugs in recent pgbench commits.

1.  pg_time_usec_t needs to be printed with INT64_FORMAT, not %ld, or 32
bit systems complain, per lapwing.

2.  Some Windows compilers didn't like a thread function not marked with
__stdcall, per whelk; let's see if this fixes the problem.

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +9 −4