diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-13 17:21:01 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-13 17:21:41 +1300 |
commit | de91c3b976cfacddacd45a9b52046264c0e44b11 (patch) | |
tree | fbe5451977a3fbe4b6d6f6f24ec35d8d6db5e29d /src/backend/tcop/postgres.c | |
parent | c5be48f092016b1caf597b2e21d588b56c88a23e (diff) | |
download | postgresql-de91c3b976cfacddacd45a9b52046264c0e44b11.tar.gz postgresql-de91c3b976cfacddacd45a9b52046264c0e44b11.zip |
Fix new pthread code to respect --disable-thread-safety.
Don't try to compile src/port/pthread_barrier_wait.c if we opted out of
threads at configure time. Revealed by build farm member gaur, which
can't compile this code because of problems with its pthread
implementation. It shouldn't be trying to, because it's using
--disable-thread-safety.
Defect in commit 44bf3d50.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2568537.1615603606%40sss.pgh.pa.us
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions