git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5ef037c) | patch
Correctly set t_self for heap tuples in expand_tuple
2018年10月24日 14:45:34 +0000 (10:45 -0400)
2018年10月24日 14:56:27 +0000 (10:56 -0400)
commit 040a1df6149f852c3b8de96d9d13258af8a39e23
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
src/backend/access/common/heaptuple.c diff | blob | blame | history
src/test/regress/expected/fast_default.out diff | blob | blame | history
src/test/regress/sql/fast_default.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /