pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.
Date: Mon, 24 Feb 2020 11:51:58 +0000
Message-ID: <E1j6CHG-0000Qs-4V@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1j6CHG-0000Qs-4V@gemulon.postgresql.org>
Permalink:  ../E1j6CHG-0000Qs-4V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j6CHG-0000Qs-4V@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.
  In-Reply-To: <E1j6CHG-0000Qs-4V@gemulon.postgresql.org>
  References: <E1j6CHG-0000Qs-4V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox