From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Blindly try to fix test script's tar invocation for MSYS.
Date: Sat, 20 Mar 2021 11:05:16 -0400
Message-ID: <181059.1616252716@sss.pgh.pa.us> (raw)
In-Reply-To: <6a124853-d645-bc2f-1551-6ca61b918423@dunslane.net>
References: <E1lN56k-0001xm-1p@gemulon.postgresql.org>
<6a124853-d645-bc2f-1551-6ca61b918423@dunslane.net>
Andrew Dunstan <andrew@dunslane.net> writes:
> On 3/18/21 10:43 PM, Tom Lane wrote:
>> Buildfarm member fairywren doesn't like the test case I added
>> in commit 081876d75. I'm guessing the reason is that I shouldn't
>> be using a perl2host-ified path in the tar command line.
> No, you shouldn't. The rule is that you need to use perl2host when
> passing a path to a non-msys-aware program. This will typically be one
> of our own artefacts, or the comand processor (via system(), qx() etc.).
> But msys-aware programs such as utility programs like tar should get the
> path just as the perl script sees it.
Ah. So it seems like the $64 question is how to know that tar, or any
particular other program, is msys-aware.
regards, tom lane
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net
Subject: Re: pgsql: Blindly try to fix test script's tar invocation for MSYS.
In-Reply-To: <181059.1616252716@sss.pgh.pa.us>
References: <E1lN56k-0001xm-1p@gemulon.postgresql.org> <6a124853-d645-bc2f-1551-6ca61b918423@dunslane.net> <181059.1616252716@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