Put all the prototypes for hashfn.c into the same header file.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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
- allow frontend use of the backend's core hashing functions 11 messages · 2020-02-07 → 2020-02-27