Re: Link t the souce code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Link t the souce code
Дата
Msg-id 202107211721.pnmoavcgidqb@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Link t the souce code  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Link t the souce code  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Link t the souce code  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-docs
On 2021-Jul-21, Peter Eisentraut wrote:

> On 21.07.21 01:45, Alvaro Herrera wrote:
> >   <screen>
> > -<userinput>gunzip postgresql-&version;.tar.gz</userinput>
> > -<userinput>tar xf postgresql-&version;.tar</userinput>
> > +<userinput>tar xfa postgresql-&version;.tar.gz</userinput>
> >   </screen>
> 
> The "a" option only applies when creating a tar archive ("c" command). So
> adding it here does nothing.

Oh, so the current `tar x` knows to uncompress the file without any
additional options?  I've been pointlessly adding 'z', 'j', 'a' for years ...
That means we can remove the `gunzip` line and replace it with nothing.
WFM ...

-- 
Álvaro Herrera              Valdivia, Chile  —  https://www.EnterpriseDB.com/
"But static content is just dynamic content that isn't moving!"
                http://smylers.hates-software.com/2007/08/15/fe244d0c.html



В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Link t the souce code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Link t the souce code