Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems
Date
Msg-id f2828ce2-e094-2291-b604-92125b68dded@dunslane.net
Whole thread Raw
In response to Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems  (Alexey Kondratov <a.kondratov@postgrespro.ru>)
List pgsql-hackers
On 4/20/21 6:49 PM, Alexey Kondratov wrote:
> On 2021-04-20 18:03, Tom Lane wrote:
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>> On 4/19/21 7:22 PM, Tom Lane wrote:
>>>> I wonder whether we could get away with just replacing the $use_tcp
>>>> test with $TestLib::windows_os.  It's not really apparent to me
>>>> why we should care about 127.0.0.not-1 on Unix-oid systems.
>>
>>> Yeah
>>> The comment is a bit strange anyway - Cygwin is actually going to use
>>> Unix sockets, not TCP.
>>> I think I would just change the test to this: $use_tcp &&
>>> $TestLib::windows_os.
>>
>> Works for me, but we need to revise the comment to match.
>>
>
> Then it could be somewhat like that, I guess.
>
>
>


pushed with slight edits.


Thanks.


cheers


andrew

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




pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Stale description for pg_basebackup
Next
From: Fujii Masao
Date:
Subject: Re: track_planning causing performance regression