Re: Link t the souce code
От | Peter Eisentraut |
---|---|
Тема | Re: Link t the souce code |
Дата | |
Msg-id | 064d5f63-116d-3291-0d5d-88748464b448@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Link t the souce code (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
Ответы |
Re: Link t the souce code
|
Список | pgsql-docs |
On 21.07.21 19:21, Alvaro Herrera wrote: > 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. Unless you want to assume GNU tar, the gunzip is still necessary.
В списке pgsql-docs по дате отправления: