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

Jim Fulton jim at zope.com
Thu Oct 28 13:06:44 CEST 2004


Gregory P. Smith wrote:
> 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)

Automatically converting the database is a bad idea.  bsddb does too
much implicitly already, like installing.

Wishing I could run the tests without segfaultingly yours,

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



More information about the Python-Dev mailing list