Thread: pgsql: Use a faster hash function in resource owners.

pgsql: Use a faster hash function in resource owners.

From
Heikki Linnakangas
Date:
Use a faster hash function in resource owners.

This buys back some of the performance loss that we otherwise saw from the
previous commit.

Reviewed-by: Aleksander Alekseev, Michael Paquier, Julien Rouhaud
Reviewed-by: Kyotaro Horiguchi, Hayato Kuroda, Álvaro Herrera, Zhihong Yu
Reviewed-by: Peter Eisentraut, Andres Freund
Discussion: https://www.postgresql.org/message-id/d746cead-a1ef-7efe-fb47-933311e876a3%40iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/954e43564d9920f0a98e3b750e0c74bb035410f5

Modified Files
--------------
src/backend/utils/resowner/resowner.c | 24 ++++++++++++++++++------
src/include/common/hashfn.h           | 15 +++++++++++++++
2 files changed, 33 insertions(+), 6 deletions(-)