Re: Free port choosing freezes when PostgresNode::use_tcp is used on BSD systems
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Alexey Kondratov <a.kondratov@postgrespro.ru>,
Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-04-21T14:32:40Z
Lists: 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
Commits
-
Add TABLESPACE option to REINDEX
- c5b286047cd6 14.0 landed
-
Refactor code in tablecmds.c to check and process tablespace moves
- 4c9c359d38ff 14.0 landed
-
Refactor option handling of CLUSTER, REINDEX and VACUUM
- a3dc926009be 14.0 landed
-
pg_dump: Don't use enums for defining bit mask values
- d2a2808eb444 14.0 landed
-
Refactor CLUSTER and REINDEX grammar to use DefElem for option lists
- b5913f612079 14.0 landed
-
Refactor parsing rules for option lists of EXPLAIN, VACUUM and ANALYZE
- 873ea9ee692e 14.0 landed
-
Improve tab completion of REINDEX in psql
- 1f75b454134c 14.0 landed
-
Fix possible crash during FATAL exit from reindexing.
- d12bdba77b0f 13.0 cited