Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIwZM-0004rO-SV for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 15:43:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIwZL-0008K1-Hj for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2020 15:43:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIwZL-0008Ju-Ax for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2020 15:43:19 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIwZI-0006wU-T5 for pgsql-hackers@postgresql.org; Mon, 30 Mar 2020 15:43:18 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E65B55C00DA; Mon, 30 Mar 2020 11:43:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 30 Mar 2020 11:43:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=5qwdqgdjHpac/3XC22UbZ7wR71h+cH1+O5oQMdmWg GM=; b=q2EB3sDsypq/BmYugYMEyOkjSiITXoWRnElYHUulvI4gfi/D1aQCe6F+4 upvp9RAEsKbBo3BP4bOiEeAxPF/9g08Ms8oDBgtn+u2Ce4UJe58NzCPJ524rEcMk +ycaGrbkbNWAyNAlX1LrxIiHQmPMQd8dI3/T6vU45syUTHdH2Xz94S4ngUtjxpwD WNlsBI3vWVeC0TZe26IJRIqcEFbchWNp9Wl6OOisonegQpPgwS8loK9ofMSo79Ch qjkmLqSYYffPaD+dc+pXIcoDmnuQhb+lAzrUECttbUpealuMEUpDVkhz9ENCT4ir W7WDA9wDRm0E4qsrrDlieEwwGPYPA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeihedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgt ohhmnecukfhppeelfedrvdegvddrvddufedrvdegudenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p5df2d5f1.dip0.t-ipconnect.de [93.242.213.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 9512B3280063; Mon, 30 Mar 2020 11:43:14 -0400 (EDT) Subject: Re: Unix-domain socket support on Windows To: Andrew Dunstan , pgsql-hackers References: <54bde68c-d134-4eb8-5bd3-8af33b72a010@2ndquadrant.com> <00d4945e-b437-f3b5-f4af-42e99321c846@2ndquadrant.com> <5974caea-1267-7708-40f2-6009a9d653b0@2ndquadrant.com> <75f72249-8ae6-322a-63df-4fe03eeccb9f@2ndquadrant.com> <309b8690-7372-355a-ba5e-76094fe8c049@2ndquadrant.com> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 30 Mar 2020 17:43:12 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-03-27 18:52, Andrew Dunstan wrote: > I have tested this on drongo/fairywren and it works fine. The patches > apply cleanly (with a bit of fuzz) and a full buildfarm run is happy in > both cases. > > Unfortunately I don't have a Windows machine that's young enough to > support git master and old enough not to support Unix Domain sockets, so > i can't test that with socket-enabled binaries. > > On inspection the patches seem fine. > > Let's commit this and keep working on the pg_upgrade and test issues. I have committed this in chunks over the last couple of days. It's done now. I didn't commit the initdb auto-detection patch. As I mentioned earlier, that one is probably not necessary. Btw., the default AppVeyor images are too old to support this. You need something like 'image: Visual Studio 2019' to get a new enough image. So that's one way to test what happens when it's not supported at run time. (I did test it and you get a sensible error message.) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services