[pybsddb] berkeleydb 18.1.2: Working (finally) and HEAP support

Jesus Cea jcea at jcea.es
Mon Dec 7 21:27:20 CET 2020


Releases 18.1.0 and 18.1.1 were incomplete and non functional. This 
release, 18.1.2, should work, finally.

This release adds support for Oracle Berkeley DB "HEAP" access method.

BEWARE: There are some breaking changes. Pay attention to the changelog.


Homepage:
https://www.jcea.es/programacion/pybsddb.htm

PYPI:
https://pypi.org/project/berkeleydb/18.1.2/

Changelog:
https://www.jcea.es/programacion/pybsddb.htm#berkeleydb-18.1.2

"""
   * Releases 18.1.0 and 18.1.1 were incomplete. Thanks to Mihai.i
     for reporting.

   * Export exception "DBMetaChksumFail" (from error 
"DB_META_CHKSUM_FAIL") if
     running Oracle Berkeley DB version 6.2 or newer.

   * Support Heap access method if you are linking against Oracle 
Berkeley DB
     5.3 or newer.

     - "DB.put()" can add new records or overwrite old ones in Heap access
       method.

     - "DB.append()" was extended to support Heap access method.

     - "DB.cursor()" was extended to support Heap access method.

     - Implement, test and document "DB.get_heapsize()", 
"DB.set_heapsize()",
       "DB.get_heap_regionsize()" and "DB.set_heap_regionsize()".

     - Export exception "DBHeapFull" (from error "DB_HEAP_FULL").

     - "DB.stats()" provides stats for Heap access method.

   * WARNING - BREAKING CHANGE: Add "dbtype" member in "DBObject" object 
in the
     C API. Increase C API version. This change has ripple effect in the 
code.

   * WARNING - BREAKING CHANGE: "primaryDBType" member in "DBObject" 
object in
     the C API is now type "DBTYPE". Increase C API version. This change has
     ripple effect in the code.

   * Now "DB.get_type()" can be called anytime and it doesn't raise an 
exception
     if called before the database is open. If the database type is not 
known,
     "DB_UNKNOWN" is returned. This is a deviation from the Oracle 
Berkeley DB C
     API.

   * WARNING - BREAKING CHANGE: "DB.type()" method is dropped. It was never
     documented. Use "DB.get_type()".

   * "DB.stats()" returns new keys in the dictionary:

     - Hash, Btree and Recno access methods: Added "metaflags" (always) and
       "ext_files" (if linked against Oracle Berkeley DB 6.2 or newer).

     - Queue access method: Added "metaflags" (always).
"""

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - https://www.jcea.es/    _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20201207/f31bd68e/attachment.bin>


More information about the pybsddb mailing list