Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 23451632CA9 for ; Wed, 31 Mar 2010 20:45:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 18472-07 for ; Wed, 31 Mar 2010 23:45:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 5FD816326D6 for ; Wed, 31 Mar 2010 20:45:16 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o2VNjGW24641; Wed, 31 Mar 2010 19:45:16 -0400 (EDT) From: Bruce Momjian Message-Id: <201003312345.o2VNjGW24641@momjian.us> Subject: Re: confusing archive_command example In-Reply-To: <865.1270079055@sss.pgh.pa.us> To: Tom Lane Date: Wed, 31 Mar 2010 19:45:16 -0400 (EDT) CC: Josh Kupershmidt , pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.386 tagged_above=-10 required=5 tests=AWL=0.213, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/26 X-Sequence-Number: 5391 Tom Lane wrote: > Bruce Momjian writes: > > As far as "...", those are used to show only the important changes in > > the string, which I think is the right approach, but I did change the > > line so the dots are not right up against slashes: > > archive_command = 'test ! -f ... %f && cp %p ... %f' > > This is *not* an improvement, because it makes it look like the %f is a > separate command argument. Please revert if you can't think of > something better. What about: archive_command = 'test ! -f ...%f && cp %p ...%f' -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com