Subject: usage of hash(3)
To: None <>
From: gabriel rosenkoetter <>
List: current-users
Date: 05/27/2001 19:17:15
Neither the hash(3) nor the dbopen(3) man page makes it clear what
will be returned by a DB->get() on a hash DB where more than one
entry carries the same key, and the commentary in dbopen(3)
ominously suggests (by way of the NO_OVERWRITE flag) that a hash
DB will not chain if it gets two distinct key/data pairs with the
same key.

Is this the case? Do I really need to ensure that my keys are unique
if I want to not overwrite them?

       ~ g r @