Fix error handling in replacement pthread_barrier_init().
Commit 44bf3d50 incorrectly used an errno-style interface when supplying
missing pthread functionality (i.e. on macOS), but it should check for
and return error numbers directly.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a40646e30d85e51a76fb620822d4d921b6802157
Modified Files
--------------
src/port/pthread_barrier_wait.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)