• Tom Lane's avatar
    Refactor GIN's handling of duplicate search entries. · 56a57473
    Tom Lane authored
    The original coding could combine duplicate entries only when they
    originated from the same qual condition.  In particular it could not
    combine cases where multiple qual conditions all give rise to full-index
    scan requests, which is an expensive case well worth optimizing.  Refactor
    so that duplicates are recognized across all the quals.
    56a57473
ginget.c 41.3 KB