Re: [HACKERS] pgbench regression test failure

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Steve Singer <steve(at)ssinger(dot)info>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgbench regression test failure
Date: 2017-11-13 18:24:10
Message-ID: alpine.DEB.2.20.1711131918090.18461@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello Steve,

> printf("number of transactions actually processed: " INT64_FORMAT "/%d\n",
> - total->cnt - total->skipped, nxacts * nclients);
> + total->cnt, nxacts * nclients);
>
> I think you want ntx instead of total->cnt here.

Indeed... and this is also what my git branch contains... I just sent the
wrong version, sorry:-( The same fix is also needed in the else branch.

Here is the hopefully right version, which passes tests here.

--
Fabien.

Attachment Content-Type Size
pgbench-progress-skip-2.patch text/x-diff 3.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-11-13 18:31:33 Re: [HACKERS] pgbench: Skipping the creating primary keys after initialization
Previous Message David Steele 2017-11-13 18:19:57 Re: [HACKERS] pg audit requirements