git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2013e5e) | patch
Allow skipping some items in a multi-key GIN search.
2014年1月29日 15:53:39 +0000 (17:53 +0200)
2014年1月29日 15:53:39 +0000 (17:53 +0200)
commit e20c70cb0fa74d5bffa080e21a99b44bf0768667
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't
need to check the second criteria for TIDs smaller the first match. That
saves a lot of effort, especially if one of the terms is rare, while the
second occurs very frequently.

Based on ideas from Alexander Korotkov's fast scan patch.
src/backend/access/gin/ginget.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /