• Tom Lane's avatar
    Fix the code that adds regclass constants to a plan's list of relation OIDs · 2e835a49
    Tom Lane authored
    that it depends on for replan-forcing purposes.  We need to consider plain OID
    constants too, because eval_const_expressions folds a RelabelType atop a Const
    to just a Const.  This change could result in OID values that aren't really
    for tables getting added to the dependency list, but the worst-case
    consequence would be occasional useless replans.  Per report from Gabriele
    Messineo.
    2e835a49
setrefs.c 47.1 KB