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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.
Дата
Msg-id 15974.1308403194@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.  (Thom Brown <thom@linux.com>)
Ответы Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.  (Bruce Momjian <bruce@momjian.us>)
Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.  (Andrew Dunstan <andrew@dunslane.net>)
Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Thom Brown <thom@linux.com> writes:
> On 18 June 2011 04:13, Bruce Momjian <bruce@momjian.us> wrote:
>> I tested on FreeBSD 7.4 and saw a 1 error return:

> And on a Mac (so through Darwin 10.7.0 a BSD version too):

Yeah, see yesterday's discussion on pgsql-admin.  I think the behavior
with the error return may be a BSD-ism.  In any case, GNU cp does *not*
do what we want, and that accounts for a sufficiently large fraction of
machines in the field that I think it's just unsafe to suggest using
"cp -i" so prominently.  There are too many people who'll just copy and
paste the first example provided, especially if the warning to test it
is buried several paragraphs later.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Dickson S. Guedes"
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Don't use "cp -i" in the example WAL archive_command.
Следующее
От: Pavel Stehule
Дата:
Сообщение: plpgsql performance - SearchCatCache issue