Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A49E59F9A7A for ; Fri, 24 Aug 2007 08:59:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 51613-08 for ; Fri, 24 Aug 2007 08:59:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 2E5219F9A4F for ; Fri, 24 Aug 2007 08:59:55 -0300 (ADT) Received: from hawking.credativ.lan (exit.credativ.com [87.139.82.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id 5BD5F7759B; Fri, 24 Aug 2007 13:53:32 +0200 (CEST) From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: tar, but not gnu tar Date: Fri, 24 Aug 2007 13:59:43 +0200 User-Agent: KMail/1.9.5 Cc: Tom Lane , "Tena Sakai" , "Bruce Momjian" , "Kenneth Marshall" , "Kevin Grittner" References: <200708231902.l7NJ2Ii28748@momjian.us> <16079.1187920691@sss.pgh.pa.us> In-Reply-To: <16079.1187920691@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708241359.44560.peter_e@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/312 X-Sequence-Number: 26643 Am Freitag, 24. August 2007 03:58 schrieb Tom Lane: > "Tena Sakai" 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@rh2 ~]$ tar --version > tar (GNU tar) 1.15.1 > [tgl@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@rh2 ~]$ echo $? > 0 > [tgl@rh2 ~]$ > > ISTR that the original caution was against writing scripts that assume > anything being emitted to stderr must indicate a problem. The relevant NEWS entry from GNU tar 1.16 is: """ * After creating an archive, tar exits with code 1 if some files were changed while being read. Previous versions exited with code 2 (fatal error), and only if some files were truncated while being archived. """ -- Peter Eisentraut http://developer.postgresql.org/~petere/