pgsql: In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate th

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate th
Дата
Msg-id E1PFqUy-0002hW-Ge@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=000efc3dfdf425136ef9564e86d1800cbe584e75

Modified Files
--------------
src/backend/access/heap/rewriteheap.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate th
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate th