forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit000efc3
committed
In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate the tuple
length stored in the line pointer the same way it's calculated in the normalheap_insert() codepath. As noted by Jeff Davis, the length stored byraw_heap_insert() included padding but the one stored by the normal codepathdid not. While the mismatch seems to be harmless, inconsistency isn't good,and the normal codepath has received a lot more testing over the years.Backpatch to 8.3 where the heap rewrite code was introduced.1 parent73bc521 commit000efc3
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
641 | 641 |
| |
642 | 642 |
| |
643 | 643 |
| |
644 |
| - | |
| 644 | + | |
645 | 645 |
| |
646 | 646 |
| |
647 | 647 |
| |
|
0 commit comments
Comments
(0)