From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Try to fix portability bugs in recent pgbench commits.
Date: Wed, 10 Mar 2021 08:25:04 +0000
Message-ID: <E1lJu9Q-0007Kh-7G@gemulon.postgresql.org> (raw)
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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org
Subject: Re: pgsql: Try to fix portability bugs in recent pgbench commits.
In-Reply-To: <E1lJu9Q-0007Kh-7G@gemulon.postgresql.org>
References: <E1lJu9Q-0007Kh-7G@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox