pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Correctly set t_self for heap tuples in expand_tuple 2+ messages / 1 participants [nested] [flat]
* pgsql: Correctly set t_self for heap tuples in expand_tuple @ 2018-10-24 14:57 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2018-10-24 14:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/040a1df6149f852c3b8de96d9d13258af8a39e23 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Correctly set t_self for heap tuples in expand_tuple @ 2018-10-24 14:57 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2018-10-24 14:57 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-10-24 14:57 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-24 14:57 pgsql: Correctly set t_self for heap tuples in expand_tuple Andrew Dunstan <andrew@dunslane.net> 2018-10-24 14:57 pgsql: Correctly set t_self for heap tuples in expand_tuple Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox