• Andres Freund's avatar
    Fix parent of WCO qual. · 148e632c
    Andres Freund authored
    The parent of some WCO expressions was, apparently by accident, set to
    the the source of DML queries, rather than the target table.  This
    causes problems for the upcoming pluggable storage work, because the
    target and source table might be of different storage types.
    
    It's possible that this is already problematic, but neither
    experimenting nor inquiries on -hackers have found them. So don't
    backpatch for now.
    
    Author: Andres Freund
    Discussion: https://postgr.es/m/20181205225213.hiwa3kgoxeybqcqv@alap3.anarazel.de
    148e632c
nodeModifyTable.c 83.1 KB