Re: Race condition in recovery?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Race condition in recovery?
Дата
Msg-id 6981f25c-4d48-5781-67a1-0d71fded37bd@dunslane.net
обсуждение исходный текст
Ответ на Re: Race condition in recovery?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Race condition in recovery?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 6/14/21 1:50 PM, Andrew Dunstan wrote:
> On 6/14/21 1:11 PM, Robert Haas wrote:
>> On Mon, Jun 14, 2021 at 12:56 PM Andrew Dunstan <andrew@dunslane.net> wrote:
>>> $^X is not at all broken.
>>>
>>> The explanation here is pretty simple - the argument to perl2host is
>>> meant to be a directory. If we're going to accomodate plain files then
>>> we have some more work to do in TestLib.
>> This explanation seems to contradict the documentation in TestLib.pm,
>> which makes no mention of any such restriction.
>
> Heres a snippet:
>
>
>     sub perl2host
>     {
>         my ($subject) = @_;
>         ...
>         if (chdir $subject)
>      
>
> Last time I looked you can't chdir to anything except a directory.



Actually, I take it back, it does work for a file. I'll change it. I
probably did this when something else wasn't working.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Race condition in recovery?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Race condition in recovery?