Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i6GGe-0004UK-AX for pgsql-committers@arkaria.postgresql.org; Fri, 06 Sep 2019 15:35:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i6GGc-0005iL-MM for pgsql-committers@arkaria.postgresql.org; Fri, 06 Sep 2019 15:35:18 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1i6GGc-0005d1-CN for pgsql-committers@lists.postgresql.org; Fri, 06 Sep 2019 15:35:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i6GGa-0008EN-9f for pgsql-committers@lists.postgresql.org; Fri, 06 Sep 2019 15:35:17 +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 x86FZDIA019251; Fri, 6 Sep 2019 11:35:13 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Use data directory inode number, not port, to select SysV resour In-reply-to: <176e86ba-1a46-9d8c-5ae4-9865a463b411@2ndQuadrant.com> References: <176e86ba-1a46-9d8c-5ae4-9865a463b411@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Fri, 06 Sep 2019 11:09:02 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19249.1567784113.1@sss.pgh.pa.us> Date: Fri, 06 Sep 2019 11:35:13 -0400 Message-ID: <19250.1567784113@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > On 9/5/19 1:32 PM, Tom Lane wrote: >> Use data directory inode number, not port, to select SysV resource keys. > This has caused the 017_shm.pl tests to be skipped on jacana and > bowerbird, and to fail completely on my msys2 test system where the Perl > has the relevant IPC:: modules, unlike the buildfarm animals. I intended 017_shm.pl to be skipped on Windows builds; it's not apparent to me that that script tests anything useful when we're not using SysV shared memory. I don't quite understand what the msys2 platform might be doing with these IPC modules. Do they actually do anything, or just fail at runtime? If the latter, maybe we can add something to the eval{} block to check for present-but-doesnt-work? regards, tom lane