We published a post to the River blog: Uniqueness with Postgres advisory locks and FNV hashing. It covers how River guarantees job uniqueness using a combination of transactions, advisory locks, and the FNV hashing algorithm to build a string representation of unique properties, then hash it into the 64-bit advisory lock space.