-
- Downloads
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.
Showing
- src/backend/access/common/Makefile 2 additions, 3 deletionssrc/backend/access/common/Makefile
- src/backend/access/common/indexvalid.c 0 additions, 78 deletionssrc/backend/access/common/indexvalid.c
- src/backend/access/gist/gistget.c 10 additions, 8 deletionssrc/backend/access/gist/gistget.c
- src/backend/access/hash/hashutil.c 35 additions, 4 deletionssrc/backend/access/hash/hashutil.c
- src/backend/executor/execUtils.c 2 additions, 4 deletionssrc/backend/executor/execUtils.c
- src/include/access/iqual.h 0 additions, 31 deletionssrc/include/access/iqual.h
- src/include/access/skey.h 8 additions, 3 deletionssrc/include/access/skey.h
Loading
Please register or sign in to comment