Re: [HACKERS] WIP patch for avoiding duplicate initdb runs during"make check"

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] WIP patch for avoiding duplicate initdb runs during"make check"
Дата
Msg-id CAB7nPqS4kDQDc_2G-32udyQTEX=hFgSWQYygMxY83hyrMExDVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] WIP patch for avoiding duplicate initdb runs during "make check"  (Greg Stark <stark@mit.edu>)
Ответы Re: [HACKERS] WIP patch for avoiding duplicate initdb runs during "make check"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jul 3, 2017 at 9:25 PM, Greg Stark <stark@mit.edu> wrote:
> On 2 July 2017 at 18:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> system("cp -a ...") call in favor of something more portable.
>
> If we're ok with using Perl there's File::Copy::Recursive::dircopy()
> which does exactly that.

This stuff needs to support perl down to 5.8.0, and that's a reason
behind having src/test/perl/RecursiveCopy.pm. So I would suggest just
to use that. cp is not portable on Windows as well, that's a recipe
for non-portable code there.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Error-like LOG when connecting with SSL for password authentication
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors