ClickGems by ClickHouse
--
to
--

pg_hash_func

Authors: Shayon Mukherjee
License: MIT
Summary: Replicates PostgreSQL's default hash partitioning calculations. Specifically targets the logic within `hashint8extended` (for bigint) and `hashint4extended` (for integer/smallint) from PostgreSQL's `src/backend/access/hash/hashfunc.c`.

Can't find the visual you need? Build your own here

Download

86

last day

2K

last month

78K

total

Version

All

version

0.1.1pg_hash_func

latest version

RubyGem Downloads Over Time

loading-iconLoading

Top RubyGem Versions

loading-iconLoading

Downloads by Ruby Version Over Time

loading-iconLoading

Top Contributors

loading-iconLoading

Downloads by System Over Time

loading-iconLoading

RubyGem Downloads by Country

loading-iconLoading
© 2026 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.