• Tom Lane's avatar
    Ensure that the result of evaluating a function during constant-expression · 2b0c86b6
    Tom Lane authored
    simplification gets detoasted before it is incorporated into a Const node.
    Otherwise, if an immutable function were to return a TOAST pointer (an
    unlikely case, but it can be made to happen), we would end up with a plan
    that depends on the continued existence of the out-of-line toast datum.
    2b0c86b6
clauses.c 126 KB