pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.
Дата
Msg-id E1j6CHG-0000Qs-4V@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add prefix checks in exclude lists for pg_rewind, pg_checksums a
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Put all the prototypes for hashfn.c into the same header file.