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: | 2020-12-31 19:10:55 |
Message-ID: | CA+hUKG+it0+GZEZdP55fKQBuKZmu4OfXfW=qZFh7JgwVccMxCw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Nov 15, 2020 at 4:53 AM Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> In the attached version, I just comment out the call and add an
> explanation about why it is commented out. If pg overall version
> requirements are changed on windows, then it could be reinstated.
It looks like macOS doesn't have pthread barriers (via cfbot 2021, now
with more operating systems):
pgbench.c:326:8: error: unknown type name 'pthread_barrier_t'
static pthread_barrier_t barrier;
^
pgbench.c:6128:2: error: implicit declaration of function
'pthread_barrier_init' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
pthread_barrier_init(&barrier, NULL, nthreads);
^
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2020-12-31 19:13:07 | Re: crash recovery vs partially written WAL |
Previous Message | Zhihong Yu | 2020-12-31 19:02:29 | Re: Deleting older versions in unique indexes to avoid page splits |