• Tom Lane's avatar
    Ensure that the result tuple of an EvalPlanQual cycle gets materialized · d8e511fa
    Tom Lane authored
    before we zap the input tuple.  Otherwise, pass-by-reference columns of
    the result slot are likely to contain just references to the input
    tuple, leading to big trouble if the pfree'd space is reused.  Per
    trouble report from Jaime Casanova.  This is a new bug in the recent
    rewrite of EvalPlanQual, so nothing to back-patch.
    d8e511fa
execMain.c 64.3 KB