Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc6o-00013a-Ma for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Dec 2021 09:22:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvc6n-0003V0-EK for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Dec 2021 09:22:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc6m-0003Um-F4 for pgsql-hackers@lists.postgresql.org; Fri, 10 Dec 2021 09:22:29 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc6c-0001zJ-Id for pgsql-hackers@postgresql.org; Fri, 10 Dec 2021 09:22:27 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 159115C0323; Fri, 10 Dec 2021 04:22:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 10 Dec 2021 04:22:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=ABunXV6yCYPjzFue9KO3pcum00umtzbUPyPvjZIQx 7g=; b=PMAG4IzcY4813uKFlbont/LEy0B9XCEsb6rFvYlv7F4MbEbgZ4kKpQGy9 b8SEf1jDMBHSnQyswFVi55n77FVsS9ncU3TWGoWfvXQzUH49UQHOTMR+ZQLlyX0j VALMaSLY+ia2wXNC6wkZotb/Vag0OpsTLD1g7fbBZzX9Jgb+e5xvZtJ7uACPgKP5 IR+9xfUhy266tVsND1FHk468qmjfcD3GsFboII5w+bluyvLucV+Zg0kTmGjtA0w6 aOi2cbbkU3hahaaaYF3GbfDdsJdO/ESjIaxCBIptKT/27HxxylQl1tGJu73AtBcQ xD9Qq68dn91PLC779Yh/XjjWAhZsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkedvgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrh hprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpedttdduveevieffffffgfev iedugfettdfgveekledtjeeftefhuedvteehvdeggfenucffohhmrghinhepghhithhhuh gsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepphgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Dec 2021 04:22:14 -0500 (EST) Message-ID: <4da250a5-4222-1522-f14d-8a72bcf7e38e@enterprisedb.com> Date: Fri, 10 Dec 2021 10:22:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: port conflicts when running tests concurrently on windows. Content-Language: en-US To: Andres Freund Cc: Thomas Munro , pgsql-hackers References: <20211208224550.jh4lbcbjsnukwatq@alap3.anarazel.de> <7a217775-e9a5-f49a-c7f1-ba277b07e9e9@enterprisedb.com> <20211209184150.7gukmn36kgjrs565@alap3.anarazel.de> From: Peter Eisentraut In-Reply-To: <20211209184150.7gukmn36kgjrs565@alap3.anarazel.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 09.12.21 19:41, Andres Freund wrote: > Withhttps://github.com/anarazel/postgres/commit/046203741803da863f6129739fd215f8a32ec357 > all tests pass. pg_regress requires PG_REGRESS_SOCK_DIR because it checks for > TMPDIR, but windows only has TMP and TEMP. This looks reasonable so far. The commit messages 8f3ec75de4060d86176ad4ac998eeb87a39748c2 and 1d53432ff940b789c2431ba476a2a6e2db3edf84 contain some notes about what I thought at the time didn't work yet. In particular, the pg_upgrade tests don't support the use of Unix sockets on Windows. (Those tests have been rewritten since, so I don't know what the status is.) Also, the comment in pg_regress.c at remove_temp() is still there. These things should probably be addressed before we can consider making this the default.