- Notifications
You must be signed in to change notification settings - Fork5
Commite20c70c
committed
Allow skipping some items in a multi-key GIN search.
In a multi-key search, ie. something like "col @> 'foo' AND col @> 'bar'",as soon as we find the next item that matches the first criteria, we don'tneed to check the second criteria for TIDs smaller the first match. Thatsaves a lot of effort, especially if one of the terms is rare, while thesecond occurs very frequently.Based on ideas from Alexander Korotkov's fast scan patch.1 parent2013e5e commite20c70c
1 file changed
+250
-210
lines changed0 commit comments
Comments
(0)