forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit39a6753
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 parente55e4c9 commit39a6753
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
636 | 636 |
| |
637 | 637 |
| |
638 | 638 |
| |
639 |
| - | |
| 639 | + | |
640 | 640 |
| |
641 | 641 |
| |
642 | 642 |
| |
|
0 commit comments
Comments
(0)