Re: tar, but not gnu tar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Kenneth Marshall" <ktm(at)rice(dot)edu>, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-admin(at)postgresql(dot)org
Subject: Re: tar, but not gnu tar
Date: 2007-08-24 01:58:11
Message-ID: 16079.1187920691@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> writes:
>> This seems to contradict what we say about GNU tar?
>> Is this GNU tar? What version?

> Yes, it is GNU tar v1.14

FWIW, I tried this on Fedora Core 6 while running pgbench:

[tgl(at)rh2 ~]$ tar --version
tar (GNU tar) 1.15.1
[tgl(at)rh2 ~]$ tar cf t.tar $PGDATA
tar: Removing leading `/' from member names
tar: /home/tgl/testversion/data/pg_xlog/000000010000000000000003: file changed as we read it
[tgl(at)rh2 ~]$ echo $?
0
[tgl(at)rh2 ~]$

ISTR that the original caution was against writing scripts that assume
anything being emitted to stderr must indicate a problem.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mikko Partio 2007-08-24 04:18:12 Re: Warm-Backup configuration question
Previous Message Tom Arthurs 2007-08-24 01:54:32 Re: Warm-Backup configuration question