From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
Cc: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, 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-13 03:08:55 |
Message-ID: | 2569481.1615604935@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> On Sat, Mar 13, 2021 at 3:47 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Was any thought given to being able to opt out of this patchset
>> to support that configure option?
> Oops. The pgbench code was tested under --disable-thread-safety, but
> it didn't occur to me that the AC_REPLACE_FUNCS search for
> pthread_barrier_wait should also be conditional on that; I will now go
> and try to figure out how to do that.
OK, cool. I don't think it's hard, just do
if test "$enable_thread_safety" = yes; then
AC_REPLACE_FUNCS(pthread_barrier_wait)
fi
Probably this check should be likewise conditional:
AC_SEARCH_LIBS(pthread_barrier_wait, pthread)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kazutaka Onishi | 2021-03-13 03:35:46 | Re: TRUNCATE on foreign table |
Previous Message | Thomas Munro | 2021-03-13 03:00:29 | Re: pgbench: option delaying queries till connections establishment? |