diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2018-10-24 10:45:34 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2018-10-24 10:56:27 -0400 |
commit | 040a1df6149f852c3b8de96d9d13258af8a39e23 (patch) | |
tree | 864706cd0ce76295b6ee8549906cd78da8967ff5 /src/backend/utils/adt/json.c | |
parent | 5ef037cf0b9e130120c5a788f1f1048f6242b076 (diff) | |
download | postgresql-040a1df6149f852c3b8de96d9d13258af8a39e23.tar.gz postgresql-040a1df6149f852c3b8de96d9d13258af8a39e23.zip |
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
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions