Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deNKM-0003pC-7j for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Aug 2017 15:18:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1deNKL-0001RV-Qf for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Aug 2017 15:18:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deNJe-00005H-Tl for pgsql-bugs@postgresql.org; Sun, 06 Aug 2017 15:18:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deNJb-0001El-Nh for pgsql-bugs@postgresql.org; Sun, 06 Aug 2017 15:18:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v76FHvna003820; Sun, 6 Aug 2017 11:17:57 -0400 From: Tom Lane To: Noah Misch cc: "Augustine, Jobin" , pgsql-bugs@postgresql.org Subject: Re: Replication to Postgres 10 on Windows is broken In-reply-to: <20170806062634.GA3180536@rfd.leadboat.com> References: <20170806062634.GA3180536@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Sat, 05 Aug 2017 23:26:34 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3818.1502032677.1@sss.pgh.pa.us> Date: Sun, 06 Aug 2017 11:17:57 -0400 Message-ID: <3819.1502032677@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Noah Misch writes: > I've added this as an open item. Confirmed in this setup: > -- Client > Windows Server 2016 > postgresql-10.0-beta2-windows-x64-binaries.zip from EnterpriseDB I wonder whether the other complainants were using EDB's build, and if not, just what were they using. The indirect question is: what version of OpenSSL is the Windows build using? > I don't, however, see a smoking gun among commits. Would you bisect the > commits since 9.6 and see which one broke things? Gut instinct says that the reason this case fails when other tools can connect successfully is that libpqwalreceiver is the only tool that uses PQconnectStart/PQconnectPoll rather than a plain PQconnectdb, and that there is some behavioral difference between connectDBComplete's wait loop and libpqrcv_connect's wait loop that OpenSSL is sensitive to --- but only on Windows, and maybe only on particular OpenSSL versions. I have some memory of having tweaked libpqrcv_connect's loop once already, but I can't find a commit for that right now. A different line of thought is that maybe we broke it with the changes for OpenSSL 1.1.0. Again, it would be very important to know which OpenSSL version we're dealing with here. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs