pgsql: Fix WAL-logging of setting the visibility map bit.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix WAL-logging of setting the visibility map bit.
Дата
Msg-id E1VrRmd-00048c-Kq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix WAL-logging of setting the visibility map bit.

The operation that removes the remaining dead tuples from the page must
be WAL-logged before the setting of the VM bit. Otherwise, if you replay
the WAL to between those two records, you end up with the VM bit set, but
the dead tuples are still there.

Backpatch to 9.3, where this bug was introduced.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/615299cf63a730f9e170532c4782cd5a4a06a7ac

Modified Files
--------------
src/backend/commands/vacuumlazy.c |   27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: configure: Allow adding a custom string to PG_VERSION
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix WAL-logging of setting the visibility map bit.