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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/68b34b2338f013cb025dea360b37a3b4fc930179

Modified Files
--------------
src/bin/pgbench/pgbench.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

Reply via email to