#include <db.h> int DB->get_partition_keys(DB *db, u_int32_t *partsp, DBT *keysp);
The DB->get_partition_keys()
method returns the partitioning information as
set by the DB->set_partition() method.
The DB->get_partition_keys()
method may be called at any time during the life
of the application.
The DB->get_partition_keys()
method returns a non-zero error value on failure and 0 on success.