shayonj/pg_hash_func
Replicates PostgreSQL's integer hash partitioning logic for client-side calculation of the partitioned index, avoiding database lookups.
5 best points · 0 comments · 2 Hacker News posts · 9 GitHub stars · View on GitHub
Hacker News discussions
- Faster PostgreSQL partition look ups with client-side integer hashing in Ruby (5 points, 0 comments, by shayonj, 2025-05-17)
- pg_hash_func Ruby gem: Calculate PostgreSQL partition index without querying (3 points, 0 comments, by shayonj, 2025-04-26)