"rancpine cui" <rancpine(at)gmail(dot)com> writes: > So the method of calculating the bucket number can promise > that all items in the bucket link list belong to ONE partition? It's not that hard: the bucket number is some number of low-order bits of the hash value, and the partition number is some smaller (or at most equal) number of low-order bits of the hash value. regards, tom lane