pgsql: Move bitmap_hash and bitmap_match to bitmapset.c. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.
Date
Msg-id E1j6CHG-0000Qs-4V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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-4yrkgw@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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add prefix checks in exclude lists for pg_rewind, pg_checksums a
Next
From: Robert Haas
Date:
Subject: pgsql: Put all the prototypes for hashfn.c into the same header file.