forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit39cfe86
committed
Fix incorrect computations of length of null bitmap in pageinspect.
Instead of using our standard macro for this calculation, this codedid it itself ... and got it wrong, leading to incorrect display ofthe null bitmap in some cases. Noted and fixed by Maksim Milyutin.In passing, remove a uselessly duplicative error check.Errors were introduced in commitd6061f8; back-patch to 9.6where that came in.Maksim Milyutin, reviewed by Andrey BorodinDiscussion:https://postgr.es/m/ec295792-a69f-350f-6287-25a20e8f31d5@gmail.com1 parentf3049a6 commit39cfe86
File tree
3 files changed
+30
-10
lines changed- contrib/pageinspect
- expected
- sql
3 files changed
+30
-10
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + |
Lines changed: 5 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
| 237 | + | |
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
| 439 | + | |
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
443 | 443 |
| |
444 |
| - | |
| 444 | + | |
445 | 445 |
| |
446 | 446 |
| |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
| 447 | + | |
453 | 448 |
| |
454 | 449 |
| |
455 | 450 |
| |
456 |
| - | |
| 451 | + | |
457 | 452 |
| |
458 | 453 |
| |
459 | 454 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
0 commit comments
Comments
(0)