pgsql: Try to fix portability bugs in recent pgbench commits.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Try to fix portability bugs in recent pgbench commits.
Date: 2021-03-10 08:25:04
Message-ID: E1lJu9Q-0007Kh-7G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2021-03-10 08:38:18 Re: pgsql: pgbench: Refactor thread portability support.
Previous Message Thomas Munro 2021-03-10 07:51:59 Re: pgsql: pgbench: Refactor thread portability support.