diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-11-09 17:40:09 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-11-09 17:48:14 +0200 |
commit | 000efc3dfdf425136ef9564e86d1800cbe584e75 (patch) | |
tree | 0ee19705a14d287d6b8bfb66fed1fcf515f22ebf /src/backend/access/gist/gistxlog.c | |
parent | 73bc5218df0330a4beb737f497fa8d7b337c9f90 (diff) | |
download | postgresql-000efc3dfdf425136ef9564e86d1800cbe584e75.tar.gz postgresql-000efc3dfdf425136ef9564e86d1800cbe584e75.zip |
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 normal
heap_insert() codepath. As noted by Jeff Davis, the length stored by
raw_heap_insert() included padding but the one stored by the normal codepath
did 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.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions