- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit24379a4
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 parentf69c01f commit24379a4
1 file changed
+14
-1
lines changedLines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
647 | 647 |
| |
648 | 648 |
| |
649 | 649 |
| |
650 |
| - | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
651 | 658 |
| |
652 | 659 |
| |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
653 | 666 |
| |
654 | 667 |
| |
655 | 668 |
| |
|
0 commit comments
Comments
(0)