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`.