OSDN Git Service

Some minor code cleanup, falling out from the removal of rtree. SK_NEGATE
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Jan 2006 22:03:35 +0000 (22:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 14 Jan 2006 22:03:35 +0000 (22:03 +0000)
commitf7ea9312877abcb508669359fa2a05fc69ec91b9
tree5091d2d5bf06da0955d86c20038f9fa7eaf48346
parent7930e627d8aaf617f4edb8b9e4fe410cc475a93a
Some minor code cleanup, falling out from the removal of rtree.  SK_NEGATE
isn't being used anywhere anymore, and there seems no point in a generic
index_keytest() routine when two out of three remaining access methods
aren't using it.  Also, add a comment documenting a convention for
letting access methods define private flag bits in ScanKey sk_flags.
There are no such flags at the moment but I'm thinking about changing
btree's handling of "required keys" to use flag bits in the keys
rather than a count of required key positions.  Also, if some AM did
still want SK_NEGATE then it would be reasonable to treat it as a private
flag bit.
src/backend/access/common/Makefile
src/backend/access/common/indexvalid.c [deleted file]
src/backend/access/gist/gistget.c
src/backend/access/hash/hashutil.c
src/backend/executor/execUtils.c
src/include/access/iqual.h [deleted file]
src/include/access/skey.h