git.postgresql.org Git - postgresql.git/commit
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.
This is the main PostgreSQL git repository.
RSS
Atom