Skip to main content

Module pk

Module pk 

Source
Expand description

Shared primary key hashing utilities.

This module provides compact 64-bit hash representations for primary keys, used by both the validate and diff commands for memory-efficient PK tracking.

Functions§

hash_pk_values
Hash a list of PK/FK values into a compact 64-bit hash. Uses AHash for fast, high-quality hashing.

Type Aliases§

PkHash
Compact primary key hash (64-bit). Collision risk is negligible for realistic dump sizes.