Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck12u-00069r-GD for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Mar 2017 04:11:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ck12t-0007A4-T9 for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Mar 2017 04:11:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ck12l-0006ye-Qc for pgsql-hackers@postgreSQL.org; Sat, 04 Mar 2017 04:11:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ck12i-00078i-P6 for pgsql-hackers@postgreSQL.org; Sat, 04 Mar 2017 04:11:43 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v244BYjX003434; Fri, 3 Mar 2017 23:11:34 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers@postgreSQL.org, Andrew Dunstan Subject: Re: [COMMITTERS] pgsql: Use asynchronous connect API in libpqwalreceiver In-reply-to: <34d98fbf-9195-04d2-b85a-634d6952ffdf@2ndquadrant.com> References: <19403.1488586564@sss.pgh.pa.us> <34d98fbf-9195-04d2-b85a-634d6952ffdf@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Fri, 03 Mar 2017 21:46:20 -0500" Date: Fri, 03 Mar 2017 23:11:33 -0500 Message-ID: <19815.1488600693@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut writes: > On 3/3/17 19:16, Tom Lane wrote: >> Peter Eisentraut writes: >>> Use asynchronous connect API in libpqwalreceiver >> Buildfarm member bowerbird has been failing in the pg_rewind test since >> this patch went in. It looks like it's failing to complete connections >> from the standby; which suggests that something platform-specific is >> missing from this commit, but I dunno what. > Hmm, I wonder how widely tested the async connection API is on Windows > at all. I only see bowerbird and jacana running bin-check on Windows. Yeah, I was wondering if this is just exposing a pre-existing bug. However, the "normal" path operates by repeatedly invoking PQconnectPoll (cf. connectDBComplete) so it's not immediately obvious how such a bug would've escaped detection. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers