pgsql: Put all the prototypes for hashfn.c into the same header file.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Put all the prototypes for hashfn.c into the same header file.
Date: 2020-02-24 11:56:52
Message-ID: E1j6CM0-0000T1-3t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Put all the prototypes for hashfn.c into the same header file.

Previously, some of the prototypes for functions in hashfn.c were
in utils/hashutils.h and others were in utils/hsearch.h, but that
is confusing and has no particular benefit.

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/9341c783cc42ffae5860c86bdc713bd47d734ffd

Modified Files
--------------
src/backend/lib/dshash.c | 2 +-
src/backend/utils/hash/dynahash.c | 1 +
src/include/utils/hashutils.h | 6 ++++++
src/include/utils/hsearch.h | 17 ++++-------------
4 files changed, 12 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-02-24 12:00:00 pgsql: Adapt hashfn.c and hashutils.h for frontend use.
Previous Message Robert Haas 2020-02-24 11:51:58 pgsql: Move bitmap_hash and bitmap_match to bitmapset.c.