Marginal hack to use a specialized hash function for dynahash hashtables
Tom Lane <tgl@sss.pgh.pa.us>
Marginal hack to use a specialized hash function for dynahash hashtables whose keys are OIDs. The only one that looks particularly performance critical is the relcache hashtable, but as long as we've got the function we may as well use it wherever it's applicable.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/pgstat.c | modified | +5 −5 |
| src/backend/utils/cache/relcache.c | modified | +3 −3 |
| src/backend/utils/cache/typcache.c | modified | +2 −2 |
| src/backend/utils/fmgr/fmgr.c | modified | +2 −2 |
| src/backend/utils/hash/hashfn.c | modified | +14 −1 |
| src/include/utils/hsearch.h | modified | +2 −1 |