[Python-Dev] bsddb todo for someone - auto-upgrade db format

Gregory P. Smith greg at electricrain.com
Thu Oct 28 10:44:43 CEST 2004


On Thu, Oct 21, 2004 at 12:49:19PM +0400, Oleg Broytmann wrote:
> 
>    BTW, just installing is not enough, even when it is come with Python
> distribution. Installing a newer version of BerkeleyDB breaks older
> databases due to incompatible file formats.

fwiw its possible to fix this in the bsddb code.  someone willing to do
the exception catching database backing-up + auto db_upgrade() work should
submit a patch.  (i added backing-up as its rude to auto-convert someones
database for them to a version their old software can no longer read)

-g



More information about the Python-Dev mailing list