forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfed19f3
committed
Don't connect() to a wildcard address in test_postmaster_connection().
At least OpenBSD, NetBSD, and Windows don't support it. This repairspg_ctl for listen_addresses='0.0.0.0' and listen_addresses='::'. Sincepg_ctl prefers to test a Unix-domain socket, Windows users are mostlikely to need this change. Back-patch to 9.1 (all supported versions).This could change pg_ctl interaction with loopback-interface firewallrules. Therefore, in 9.4 and earlier (released branches), activate thechange only on known-affected platforms.Reported (bug #13611) and designed by Kondo Yuta.1 parentfba60e5 commitfed19f3
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
649 |
| - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
650 | 657 |
| |
651 | 658 |
| |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
652 | 663 |
| |
653 | 664 |
| |
654 | 665 |
| |
|
0 commit comments
Comments
(0)