"rancpine cui" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly