• Andrew Dunstan's avatar
    Correctly set t_self for heap tuples in expand_tuple · 040a1df6
    Andrew Dunstan authored
    Commit 16828d5c 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
    040a1df6
heaptuple.c 43.9 KB