pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix error handling in replacement pthread_barrier_init().
Date: Mon, 31 May 2021 23:32:45 +0000
Message-ID: <E1lnrOn-0001Qw-GO@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lnrOn-0001Qw-GO@gemulon.postgresql.org>
Permalink:  ../E1lnrOn-0001Qw-GO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lnrOn-0001Qw-GO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Fix error handling in replacement pthread_barrier_init().
  In-Reply-To: <E1lnrOn-0001Qw-GO@gemulon.postgresql.org>
  References: <E1lnrOn-0001Qw-GO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox