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

Robert Haas <rhaas@postgresql.org>

Commit: 9341c783cc42ffae5860c86bdc713bd47d734ffd
Author: Robert Haas <rhaas@postgresql.org>
Date: 2020-02-24T11:52:45Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/lib/dshash.c modified +1 −1
src/backend/utils/hash/dynahash.c modified +1 −0
src/include/utils/hashutils.h modified +6 −0
src/include/utils/hsearch.h modified +4 −13

Discussion