[Python-Dev] Incorporating bsddb3
Martin v. Loewis
martin@v.loewis.de
31 Oct 2002 07:38:35 +0100
Guido van Rossum <guido@python.org> writes:
> There's also the issue of upgrading. Suppose someone has created a
> database using bsddb in Python 2.2. When they upgrade to Python 2.3,
> they'll get an exception when they open the database, because
> Sleepycat DB 4.x can't open BSD DB 1.85 databases. What do we tell
> them to do?
Whether this happens somewhat depends on the system. On Linux, it
won't happen, since people likely have been using Sleepycat DB,
anyway, through db_185.h.
If they really use DB 1.85 (i.e. on Windows), they need to use
db_dump/db_load.
Regards,
Martin