public inbox for [email protected]  
help / color / mirror / Atom feed
From: Marcel Hofstetter <[email protected]>
To: Thomas Munro <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Solaris tar issues, or other reason why margay fails 010_pg_basebackup?
Date: Wed, 17 Apr 2024 15:40:47 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+hUKGJ+R2C6cyp5Mz+YgTS9dMeCgsKG6V=nNTFnuhtWAtiESg@mail.gmail.com>
References: <CA+hUKG+YHcs=jNmnDrmDam9BiC4KqrhYKuAm000-j-79wU5JFQ@mail.gmail.com>
	<[email protected]>
	<CA+hUKGJ+R2C6cyp5Mz+YgTS9dMeCgsKG6V=nNTFnuhtWAtiESg@mail.gmail.com>

Hi Thomas

Using gnu tar helps to make pg_basebackup work.
It fails now at a later step.

Best regards,
Marcel



Am 17.04.2024 um 10:52 schrieb Thomas Munro:
> On Wed, Apr 17, 2024 at 7:17 PM Marcel Hofstetter
> <[email protected]> wrote:
>> Is there a way to configure which tar to use?
>>
>> gnu tar would be available.
>>
>> -bash-5.1$ ls -l /usr/gnu/bin/tar
>> -r-xr-xr-x   1 root     bin      1226248 Jul  1  2022 /usr/gnu/bin/tar
> 
> Cool.  I guess you could fix the test either by setting
> TAR=/usr/gnu/bin/tar or PATH=/usr/gnu/bin:$PATH.
> 
> If we want to understand *why* it doesn't work, someone would need to
> dig into that.  It's possible that PostgreSQL is using some GNU
> extension (if so, apparently the BSDs' tar is OK with it too, and I
> guess AIX's and HP-UX's was too in the recent times before we dropped
> those OSes).  I vaguely recall (maybe 20 years ago, time flies) that
> Solaris tar wasn't able to extract some tarballs but I can't remember
> why...  I'm also happy to leave it at "Sun's tar doesn't work for us,
> we don't know why" if you are.







view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Solaris tar issues, or other reason why margay fails 010_pg_basebackup?
  In-Reply-To: <[email protected]>

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

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