Re: somewhat wrong archive_command example - Mailing list pgsql-docs

From Euler Taveira de Oliveira
Subject Re: somewhat wrong archive_command example
Date
Msg-id 4E7A887F.8010908@timbira.com
Whole thread Raw
In response to Re: somewhat wrong archive_command example  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: somewhat wrong archive_command example
List pgsql-docs
On 21-09-2011 20:02, Greg Smith wrote:
> Attached version fixes the late night brain fade errors. I think the right
> thing to do next is to package this up into a doc update that corrects the
> errors in that section too; just clean the whole thing up while I'm poking at
> it. I'll submit that over to the hackers list so that everyone can take a shot
> at correcting my shell code.
>
Just a few comments:

(i) full path for ARCHIVE (say /path/to/archive) and backup_in_progress.
Absolute paths are easier to check than relative ones;
(ii) is echo with unquoted string portable? I don't know but it confuses
readability.


--
    Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

pgsql-docs by date:

Previous
From: Greg Smith
Date:
Subject: Re: somewhat wrong archive_command example
Next
From: Josh Kupershmidt
Date:
Subject: Re: somewhat wrong archive_command example