pgsql: Correctly set t_self for heap tuples in expand_tuple

2018-10-24 Thread Andrew Dunstan
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 #154

pgsql: Correctly set t_self for heap tuples in expand_tuple

2018-10-24 Thread Andrew Dunstan
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 #154