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

From Alexey Kondratov
Subject Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems
Date
Msg-id 3cba5930342a51665e6959002cedb4d9@postgrespro.ru
Whole thread Raw
In response to Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
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.


Regards
-- 
Alexey Kondratov

Postgres Professional https://www.postgrespro.com
Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY
Next
From: Junfeng Yang
Date:
Subject: 回复: Partitioned table permission question