• Tom Lane's avatar
    Use ExecPrepareExpr in place of ExecPrepareCheck where appropriate. · 9b95f2fa
    Tom Lane authored
    Change one more place where ExecInitCheck/ExecPrepareCheck's insistence
    on getting implicit-AND-format quals wasn't really helpful, because the
    caller had to do make_ands_implicit() for no reason that it cared about.
    Using ExecPrepareExpr directly simplifies the code and saves cycles.
    
    The only remaining use of these functions is to process
    resultRelInfo->ri_PartitionCheck quals.  However, implicit-AND format
    does seem to be what we want for that, so leave it alone.
    9b95f2fa
partition.c 56.7 KB