pgsql: Correctly set t_self for heap tuples in expand_tuple

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Correctly set t_self for heap tuples in expand_tuple
Дата
Msg-id E1gFKbc-0003dJ-T6@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Correctly set t_self for heap tuples in expand_tuple

Commit 16828d5c0 incorrectly set an invalid pointer for t_self for heap
tuples. This patch correctly copies it from the source tuple, and
includes a regression test that relies on it being set correctly.

Backpatch to release 11.

Fixes bug #15448 reported by Tillmann Schulz

Diagnosis and test case by Amit Langote

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/372102b81dd0096764b712deffab00732f3c9d80

Modified Files
--------------
src/backend/access/common/heaptuple.c      |  2 +-
src/test/regress/expected/fast_default.out | 10 ++++++++++
src/test/regress/sql/fast_default.sql      | 12 ++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: List wait events in alphabetical order
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Fix typo in regression test comment