Re: pgsql: Check that we have a working tar before trying to use it

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Check that we have a working tar before trying to use it
Дата
Msg-id 3778566.1639057533@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Check that we have a working tar before trying to use it  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix some typos with {a,an}
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Check that we have a working tar before trying to use it