- Notifications
You must be signed in to change notification settings - Fork5
Commit78a5e73
committed
Prevent creation of postmaster's TCP socket during pg_upgrade testing.
On non-Windows machines, we use the Unix socket for connections to testpostmasters, so there is no need to create a TCP socket. Furthermore,doing so causes failures due to port conflicts if two builds are carriedout concurrently on one machine. (If the builds are done in differentchroots, which is standard practice at least in Red Hat distros, thereis no risk of conflict on the Unix socket.) Suppressing the TCP socketby setting listen_addresses to empty has long been standard practicefor pg_regress, and pg_upgrade knows about this too ... but pg_upgrade'stest.sh didn't get the memo.Back-patch to 9.2, and also sync the 9.2 version of the script with HEADas much as practical.1 parentb0daba5 commit78a5e73
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 |
| |
21 | 28 |
| |
22 | 29 |
| |
| |||
75 | 82 |
| |
76 | 83 |
| |
77 | 84 |
| |
78 |
| - | |
| 85 | + | |
79 | 86 |
| |
80 | 87 |
| |
81 | 88 |
| |
| |||
118 | 125 |
| |
119 | 126 |
| |
120 | 127 |
| |
121 |
| - | |
| 128 | + | |
122 | 129 |
| |
123 | 130 |
| |
124 | 131 |
| |
|
0 commit comments
Comments
(0)