- Notifications
You must be signed in to change notification settings - Fork5
Commitaba8943
committed
pg_upgrade: Improve error checking in rewriteVisibilityMap.
In the old logic, if read() were to return an error, we'd silently stoprewriting the visibility map at that point in the file. That's safe,but reporting the error is better, so do that instead.Report by Andres Freund. Patch by Masahiko Sawada, with one correctionby me.1 parent6201a8e commitaba8943
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
| 168 | + | |
168 | 169 |
| |
169 | 170 |
| |
170 | 171 |
| |
| |||
200 | 201 |
| |
201 | 202 |
| |
202 | 203 |
| |
203 |
| - | |
| 204 | + | |
204 | 205 |
| |
205 | 206 |
| |
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
209 |
| - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
210 | 221 |
| |
211 | 222 |
| |
212 | 223 |
| |
|
0 commit comments
Comments
(0)