Skip site navigation (1) Skip section navigation (2)

Re: somewhat wrong archive_command example

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Greg Smith <greg(at)2ndQuadrant(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: somewhat wrong archive_command example
Date: 2011-09-22 00:59:43
Message-ID: 4E7A887F.8010908@timbira.com (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-docs by date

Next:From: Josh KupershmidtDate: 2011-09-22 18:15:30
Subject: Re: somewhat wrong archive_command example
Previous:From: Greg SmithDate: 2011-09-21 23:02:37
Subject: Re: somewhat wrong archive_command example

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group