[Pkg-db-devel] Upgrade to db4.5 and #421954

Clint Adams schizo at debian.org
Fri Jul 27 11:08:33 UTC 2007


>  I wondered if spamprobe itself could implement this automatic upgrade
> on the next access to each database. My knowlegde of libdb is very
> limited.

I took a very brief glance at spamprobe, and it looks as though it is
using a simple BTREE environment without making use of the transaction
or logging subsystems.  Therefore you won't need to do anything.

For future reference, though, if you do need to upgrade the database,
the open will return DB_OLD_VERSION.  You can follow that up with a
DB->upgrade or equivalent.  In the past, it's not been a good idea to
do the upgrade unconditionally due to what is probably a memory leak.

For log file upgrades, the situation is significantly more complex and
irritating.



More information about the Pkg-db-devel mailing list