- Notifications
You must be signed in to change notification settings - Fork5
Commit6dd9584
committed
Improve pg_upgrade's status display
Pg_upgrade displays file names during copy and database names duringdump/restore. Andrew Dunstan identified three bugs:* long file names were being truncated to 60 _leading_ characters, which often do not change for long file names* file names were truncated to 60 characters in log files* carriage returns were being output to log filesThis commit fixes these --- it prints 60 _trailing_ characters to thestatus display, and full path names without carriage returns to logfiles. It also suppresses status output to the log file unless verbosemode is used.1 parentef754fb commit6dd9584
File tree
5 files changed
+30
-20
lines changed- contrib/pg_upgrade
5 files changed
+30
-20
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
310 | 310 |
| |
311 | 311 |
| |
312 | 312 |
| |
313 |
| - | |
| 313 | + | |
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 |
| - | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| |||
208 | 207 |
| |
209 | 208 |
| |
210 | 209 |
| |
| 210 | + | |
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
216 |
| - | |
| 216 | + | |
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
|
Lines changed: 25 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
| 78 | + | |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
| |||
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
92 |
| - | |
| 93 | + | |
93 | 94 |
| |
94 |
| - | |
| 95 | + | |
| 96 | + | |
95 | 97 |
| |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
108 | 103 |
| |
109 | 104 |
| |
110 | 105 |
| |
| |||
115 | 110 |
| |
116 | 111 |
| |
117 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
118 | 128 |
| |
119 | 129 |
| |
120 | 130 |
| |
|
0 commit comments
Comments
(0)