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
Subject: Re: pgbench: option delaying queries till connections establishment?
Date: 2021-01-02 09:50:55
Message-ID: CA+hUKG+q_TWQgrvtfHxJoWyr1DVz_WhQBr3LjfiJMKE=V+qDFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 2, 2021 at 9:15 AM Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> > It looks like macOS doesn't have pthread barriers (via cfbot 2021, now
> > with more operating systems):
>
> Indeed:-(
>
> I'll look into that.

Just for fun, the attached 0002 patch is a quick prototype of a
replacement for that stuff that seems to work OK on a Mac here. (I'm
not sure if the Windows part makes sense or works.)

Attachment Content-Type Size
0001-A.patch application/octet-stream 33.2 KB
0002-Add-pthread_barrier_t-emulation.patch application/octet-stream 7.2 KB
0003-B.patch application/octet-stream 3.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2021-01-02 10:00:34 Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding
Previous Message Fabien COELHO 2021-01-02 09:50:15 Re: Proposed patch for key management