[pybsddb] how to use bdb sql in python binding
Jeff Johnson
n3npq.jbj at gmail.com
Mon Sep 26 17:03:49 CEST 2011
On Sep 26, 2011, at 8:14 AM, Jesus Cea wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 25/09/11 15:09, jacky wrote:
>> hi, I have a question here. How to use bdb sql in python ? Does
>> the latest bsddb3-5.2.0 support the SQL ?
>
> No.
>
> But as far as I know, you can use BDB sqlite interface thru python
> stdlib simply linking sqlite python interface to bdb sqlite-like module.
>
> If I am mistaken, please, correct me.
>
You are correct that Berkeley DB provides a "drop-in" replacement
for sqlite3 libraries/tools.
Note that only API/ABI compatibility will be achieved. The
on-disk format is different because Berkeley DB is used as a back-end.
So don't expect to use with existing data without re-importing the data.
73 de Jeff
> - --
> 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.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQCVAwUBToBsjJlgi5GaxT1NAQJNuwP/buWMcOKYXt1/eJkkTn4EKpDxU4iBfcTV
> n0f0Rqp7wTE+RmnVQQP/Jt3MJU2dugSGjZ7eRz9qsrcf7GX6JpbyZX1ddJ5crHD9
> 7/zrpGA/e1YqFvRKGMJeYj6QEFpvtYWHMNQenqeoLxDXey1uVrocF1mkEXjaX/gw
> 0UCI+RPxSfc=
> =n6tE
> -----END PGP SIGNATURE-----
> _______________________________________________
> pybsddb mailing list
> pybsddb at jcea.es
> https://mailman.jcea.es/listinfo/pybsddb
> http://www.jcea.es/programacion/pybsddb.htm
More information about the pybsddb
mailing list