Re: pgsql: Check that we have a working tar before trying to use it - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Check that we have a working tar before trying to use it
Date
Msg-id 3778566.1639057533@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Check that we have a working tar before trying to use it  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Michael Paquier <michael@paquier.xyz> writes:
> ...  I got some copies of tar.exe lying
> around, one from a git installation and a second one from Msys, but
> both don't work even if $ENV{TAR} points at them :/

What goes wrong exactly?

The test I proposed ("tar cf foo.tar foo") doesn't seem like it
will catch the actual problem, which IIUC is that these tars
don't like a drive letter in the file name(s).  Can we arrange
to strip that in what's passed to $TAR ?  If not, it seems like
we have to test for exactly that point (ie Windows-only test).

            regards, tom lane



pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix some typos with {a,an}
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Check that we have a working tar before trying to use it