Move bitmap_hash and bitmap_match to bitmapset.c. The closely-related function bms_hash_value is already defined in that file, and this change means that hashfn.c no longer needs to depend on nodes/bitmapset.h. That gets us closer to allowing use of the hash functions in hashfn.c in frontend code.
Patch by me, reviewed by Suraj Kharage and Mark Dilger. Discussion: http://postgr.es/m/ca+tgmoarig4txnd8qum6jxfrkm_1wl2znhzauksuec9-4yr...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/07b95c3d8334f737d4717c91967729f7721e785c Modified Files -------------- src/backend/nodes/bitmapset.c | 23 +++++++++++++++++++++++ src/backend/utils/hash/hashfn.c | 24 ------------------------ src/include/nodes/bitmapset.h | 2 ++ src/include/utils/hsearch.h | 2 -- 4 files changed, 25 insertions(+), 26 deletions(-)