forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3d8d578
committed
Fix nbtree page deletion error messages.
Adjust some "can't happen" error messages that assumed that the pagedeletion target page must be a half-dead page. This assumption waswrong in the case of an internal target page. Simply refer to thesepages as the target page instead.Internal pages are never marked half-dead. There is exactly onehalf-dead page for each subtree undergoing deletion. The half-dead pageis also the target subtree's leaf-level page. This has been the casesince commitefada2b, which totally overhauled nbtree page deletion.1 parentd16f8c8 commit3d8d578
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2420 | 2420 |
| |
2421 | 2421 |
| |
2422 | 2422 |
| |
2423 |
| - | |
| 2423 | + | |
2424 | 2424 |
| |
2425 | 2425 |
| |
2426 | 2426 |
| |
2427 | 2427 |
| |
2428 | 2428 |
| |
2429 |
| - | |
2430 |
| - | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
2431 | 2432 |
| |
2432 | 2433 |
| |
2433 | 2434 |
| |
2434 | 2435 |
| |
2435 | 2436 |
| |
2436 |
| - | |
| 2437 | + | |
2437 | 2438 |
| |
2438 | 2439 |
| |
2439 | 2440 |
| |
| |||
2445 | 2446 |
| |
2446 | 2447 |
| |
2447 | 2448 |
| |
2448 |
| - | |
2449 |
| - | |
| 2449 | + | |
| 2450 | + | |
2450 | 2451 |
| |
2451 | 2452 |
| |
2452 | 2453 |
| |
|
0 commit comments
Comments
(0)