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 1nEViE-0002ig-Mp for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jan 2022 12:23:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nEViC-00013g-CP for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jan 2022 12:23:12 +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 1nEViC-00012z-39 for pgsql-hackers@lists.postgresql.org; Mon, 31 Jan 2022 12:23:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEVi9-0004ua-SY for pgsql-hackers@lists.postgresql.org; Mon, 31 Jan 2022 12:23:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 20VCN31K608085; Mon, 31 Jan 2022 07:23:03 -0500 From: Tom Lane To: Michael Paquier cc: "wangsh.fnst@fujitsu.com" , Julien Rouhaud , Kyotaro Horiguchi , "andrew@dunslane.net" , "pgsql-hackers@lists.postgresql.org" Subject: Re: drop tablespace failed when location contains .. on win32 In-reply-to: References: <20210913.173629.689388354506122738.horikyota.ntt@gmail.com> <1479474.1636584211@sss.pgh.pa.us> <20220117004038.fcywmknzj45kiulz@jrouhaud> <462031.1643579403@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Mon, 31 Jan 2022 17:15:33 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <608083.1643631783.1@sss.pgh.pa.us> Date: Mon, 31 Jan 2022 07:23:03 -0500 Message-ID: <608084.1643631783@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Should we have tests for WIN32 (aka for driver letters and "//")? > This could be split into its own separate test file to limit the > damage with the alternate outputs, and the original complain was from > there. I thought about it and concluded that the value couldn't justify the pain-in-the-neck factor of adding a platform-specific variant result file. skip_drive() is pretty simple and decoupled from what we're trying to test here, plus it hasn't changed in decades and is unlikely to do so in future. regards, tom lane