forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit88c8034
committed
Improve pg_upgrade's checks for required executables.
Don't insist on pg_dumpall and psql being present in the old cluster,since they are not needed. Do insist on pg_resetxlog being present(in both old and new), since we need it. Also check for pg_config,but only in the new cluster. Remove the useless attempt to callpg_config in the old cluster; we don't need to know the old value of--pkglibdir. (In the case of a stripped-down migration installationthere might be nothing there to look at anyway, so any future changethat might reintroduce that need would have to be considered carefully.)Per my attempts to build a minimal previous-version installation to supportpg_upgrade.1 parentd2bc1c9 commit88c8034
2 files changed
+17
-7
lines changedLines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 | 164 |
| |
166 |
| - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
167 | 173 |
| |
168 | 174 |
| |
169 | 175 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
310 | 310 |
| |
311 | 311 |
| |
312 | 312 |
| |
313 |
| - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
314 | 318 |
| |
315 | 319 |
| |
316 | 320 |
| |
|
0 commit comments
Comments
(0)