Refactor GIN's handling of duplicate search entries.
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.
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment