pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: wangsh.fnst@fujitsu.com <wangsh.fnst@fujitsu.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: andrew@dunslane.net <andrew@dunslane.net>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Subject: Re: drop tablespace failed when location contains .. on win32
Date: Mon, 31 Jan 2022 07:23:03 -0500
Message-ID: <608084.1643631783@sss.pgh.pa.us> (raw)
In-Reply-To: <YfeapcO2WECIhMQo@paquier.xyz>
References: <20210913.173629.689388354506122738.horikyota.ntt@gmail.com>
	<OS3PR01MB71599B537F68956616FCC4BAF2A69@OS3PR01MB7159.jpnprd01.prod.outlook.com>
	<1479474.1636584211@sss.pgh.pa.us>
	<YZdXYhqtGD0CxIz9@paquier.xyz>
	<20220117004038.fcywmknzj45kiulz@jrouhaud>
	<OS3PR01MB715911F089165E86CBB9D9DAF2589@OS3PR01MB7159.jpnprd01.prod.outlook.com>
	<YeYVpEk/+f5qpS7W@paquier.xyz>
	<OS3PR01MB7159F21067BE3DCC321340B0F25E9@OS3PR01MB7159.jpnprd01.prod.outlook.com>
	<Ye6Rkd1kLvhkTJa1@paquier.xyz>
	<462031.1643579403@sss.pgh.pa.us>
	<YfeapcO2WECIhMQo@paquier.xyz>

Michael Paquier <michael@paquier.xyz> 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





view thread (23+ messages)  latest in thread

Message-ID: <608084.1643631783@sss.pgh.pa.us>
Permalink:  ../608084.1643631783@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/608084.1643631783@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, wangsh.fnst@fujitsu.com, rjuju123@gmail.com, horikyota.ntt@gmail.com, andrew@dunslane.net
  Subject: Re: drop tablespace failed when location contains .. on win32
  In-Reply-To: <608084.1643631783@sss.pgh.pa.us>
  References: <20210913.173629.689388354506122738.horikyota.ntt@gmail.com> <OS3PR01MB71599B537F68956616FCC4BAF2A69@OS3PR01MB7159.jpnprd01.prod.outlook.com> <1479474.1636584211@sss.pgh.pa.us> <YZdXYhqtGD0CxIz9@paquier.xyz> <20220117004038.fcywmknzj45kiulz@jrouhaud> <OS3PR01MB715911F089165E86CBB9D9DAF2589@OS3PR01MB7159.jpnprd01.prod.outlook.com> <YeYVpEk/+f5qpS7W@paquier.xyz> <OS3PR01MB7159F21067BE3DCC321340B0F25E9@OS3PR01MB7159.jpnprd01.prod.outlook.com> <Ye6Rkd1kLvhkTJa1@paquier.xyz> <462031.1643579403@sss.pgh.pa.us> <YfeapcO2WECIhMQo@paquier.xyz> <608084.1643631783@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox