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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f6f43e7) | patch
Instead of using a numberOfRequiredKeys count to distinguish required
2006年1月23日 22:31:41 +0000 (22:31 +0000)
2006年1月23日 22:31:41 +0000 (22:31 +0000)
commit 7ccaf13a06b8e1f70b26ab049fdb4f8c8dece3f8
Instead of using a numberOfRequiredKeys count to distinguish required
and non-required keys in a btree index scan, mark the required scankeys
with private flag bits SK_BT_REQFWD and/or SK_BT_REQBKWD. This seems
at least marginally clearer to me, and it eliminates a wired-into-the-
data-structure assumption that required keys are consecutive. Even though
that assumption will remain true for the foreseeable future, having it
in there makes the code seem more complex than necessary.
src/backend/access/nbtree/nbtsearch.c diff | blob | blame | history
src/backend/access/nbtree/nbtutils.c diff | blob | blame | history
src/include/access/nbtree.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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