• Tom Lane's avatar
    Since createplan.c no longer cares whether index operators are lossy, it has · 226837e5
    Tom Lane authored
    no particular need to do get_op_opfamily_properties() while building an
    indexscan plan.  Postpone that lookup until executor start.  This simplifies
    createplan.c a lot more than it complicates nodeIndexscan.c, and makes things
    more uniform since we already had to do it that way for RowCompare
    expressions.  Should be a bit faster too, at least for plans that aren't
    re-used many times, since we avoid palloc'ing and perhaps copying the
    intermediate list data structure.
    226837e5
nodeMergejoin.c 44.7 KB