Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command. - Mailing list pgsql-hackers

From Dickson S. Guedes
Subject Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.
Date
Msg-id BANLkTi=hoCNsknqeSVoviPwe1kjS_H40mw@mail.gmail.com
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.  (Thom Brown <thom@linux.com>)
List pgsql-hackers
2011/6/18 Thom Brown <thom@linux.com>:
[.. cut ..]
> And on a Mac (so through Darwin 10.7.0 a BSD version too):
>
> toucan:tmp thom$ touch x y
> toucan:tmp thom$ cp -i x y; echo $?
> overwrite y? (y/n [n]) n
> not overwritten
> 1

On AIX 5.3

bash-3.00$ touch x y
bash-3.00$ cp -i x y; echo $?
overwrite y? n
0

-- 
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br


pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: Another swing at JSON
Next
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.