- Notifications
You must be signed in to change notification settings - Fork5
Commit288551f
committed
Repair longstanding error in btree xlog replay: XLogReadBuffer should be
passed extend = true whenever we are reading a page we intend to reinitializecompletely, even if we think the page "should exist". This is because itmight indeed not exist, if the relation got truncated sometime after thecurrent xlog record was made and before the crash we're trying to recoverfrom. These two thinkos appear to explain both of the old bug reportsdiscussed here:http://archives.postgresql.org/pgsql-hackers/2005-05/msg01369.php1 parent4e7d10c commit288551f
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
246 |
| - | |
| 246 | + | |
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
| |||
504 | 504 |
| |
505 | 505 |
| |
506 | 506 |
| |
507 |
| - | |
| 507 | + | |
508 | 508 |
| |
509 | 509 |
| |
510 | 510 |
| |
|
0 commit comments
Comments
(0)