forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaba78ab
committed
pg_upgrade: Improve invalid option handling
Currently, calling pg_upgrade with an invalid command-line optionaborts pg_upgrade but leaves a pg_upgrade_internal.log file lyingaround. Reorder things a bit so that that file is not created untilall the options have been parsed.Discussion:https://www.postgresql.org/message-id/24c8bd05-aed1-6301-919d-8acbabdb8c24@2ndquadrant.com1 parentdfd79e2 commitaba78ab
1 file changed
+9
-7
lines changedLines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 | 104 |
| |
108 | 105 |
| |
109 | 106 |
| |
| |||
205 | 202 |
| |
206 | 203 |
| |
207 | 204 |
| |
208 |
| - | |
209 | 205 |
| |
210 | 206 |
| |
211 | 207 |
| |
| |||
214 | 210 |
| |
215 | 211 |
| |
216 | 212 |
| |
217 |
| - | |
218 |
| - | |
219 |
| - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
220 | 216 |
| |
221 | 217 |
| |
222 | 218 |
| |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
223 | 225 |
| |
224 | 226 |
| |
225 | 227 |
| |
|
0 commit comments
Comments
(0)