bsddb btree sorting order

J

Jane Austine

Hello.

How do I change the BTree sorting order with bsddb, instead of the
default lexicographical order? After studying sleepycat's document, I
found there is a function call for setting the compare callback,
set_bt_compare. It even seems like got into pybsddb patch list
(http://sourceforge.net/tracker/index.php?func=detail&aid=532308&group_id=13900&atid=313900).
However, the current Python source tree (cvs) doesn't include the
patch.

I have no idea how those two projects(pybsddb and bsddb in standard
lib) are going together, or where I could ask about this. Why hasn't
the patch got through the main Python cvs?

Any workarounds except modifying the source?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top