Re: pgbench: option delaying queries till connections establishment?

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, kuroda(dot)hayato(at)fujitsu(dot)com, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: Re: pgbench: option delaying queries till connections establishment?
Date: 2021-03-08 02:18:42
Message-ID: CA+hUKGLjPixrEjvsHggGL_huQ9Jg0bsjp7zpztEG=_DSRGrs+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 5, 2021 at 6:22 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Thu, Mar 4, 2021 at 10:44 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > v10-0002-pgbench-Refactor-the-way-we-do-thread-portabilit.patch
>
> Here's a better version of that part. I don't yet know if it actually
> works on Windows...

David Rowley kindly tested this for me on Windows and told me how to
fix one of the macros that had incorrect error checking on that OS.
So here's a new version. I'm planning to commit 0001 and 0002 soon,
if there are no objections. 0003 needs some more review.

Attachment Content-Type Size
v12-0001-Add-missing-pthread_barrier_t.patch text/x-patch 7.7 KB
v12-0002-pgbench-Refactor-the-way-we-do-thread-portabilit.patch text/x-patch 6.3 KB
v12-0003-pgbench-Improve-time-measurement-code.patch text/x-patch 33.3 KB
v12-0004-pgbench-Synchronize-client-threads.patch text/x-patch 4.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-03-08 02:41:19 Re: Track replica origin progress for Rollback Prepared
Previous Message miyake_kouta 2021-03-08 01:51:27 RE: [PATCH] pgbench: improve \sleep meta command