• Tom Lane's avatar
    Dept of second thoughts: my first cut at supporting "x IS NOT NULL" btree · 5b76bb18
    Tom Lane authored
    indexscans would do the wrong thing if index_rescan() was called with a
    NULL instead of a new set of scankeys and the index was DESC order,
    because sk_strategy would not get flipped a second time.  I think
    that those provisions for a NULL argument are dead code now as far as the
    core backend goes, but possibly somebody somewhere is still using it.
    In any case, this refactoring seems clearer, and it's definitely shorter.
    5b76bb18
nbtutils.c 42.8 KB