[pybsddb] Missing db.DB_EID_INVALID

Jesus Cea jcea at argo.es
Thu Jan 22 12:46:43 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jon Nilsen wrote:
[Base replication API]
> Do you know if anyone has used bsddb for this purpose?

Me.

> It seems to be doable with bsddb, except for two missing identifiers;
> db.DB_EID_INVALID and db.DB_EID_BROADCAST. Is there any reason why these
> two identifiers are not available from bsddb?

pybsddb is evolving slowly to cover the entire Berkeley DB API. The
implementation order of new features can be ajusted by demanding users,
like your case.

So, please, provide some feedback and ask for features you are missing :).

I just added the two flags you asked to the 4.7.5 development version.
This version should hit the street in a month or so.

If you need these flags now, you can apply the following patch to the
pybsddb 4.7.4 just released (yesterday):

"""
- --- Modules/_bsddb.c    (revision 646)
+++ Modules/_bsddb.c    (working copy)
@@ -7538,6 +7538,9 @@
     ADD_INT(d, DB_REGISTER);
 #endif

+    ADD_INT(d, DB_EID_INVALID);
+    ADD_INT(d, DB_EID_BROADCAST);
+
 #if (DBVER >= 42)
     ADD_INT(d, DB_TIME_NOTGRANTED);
     ADD_INT(d, DB_TXN_NOT_DURABLE);
"""

Please, ask for more BDB API coverage you need.

> Otherwise I think bsddb is an excellent product :)

I think so too.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSXhcn5lgi5GaxT1NAQJ2WgP/dCV50S+lwtFHuV+pSLVBG/PbmKnMokeM
bN+Sm4iLGqcFG0eOdB3hNHct4BHYSaH8FFbhhZH0aW//jzpQVtE3pU9fG/y9psIn
gD0m9w6ny+oZEyPqxjQlujNYWwuLSC1bXRgTg09mkSO4Ur3voxc12fAdkjDVpybb
lDQFjNAe+R8=
=QSxG
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list