-I<Berkeley DB Reference Guide: Programmer Notes[P6

Berkeley DB Reference Guide: Programmer Notes



1

Library version information



KEach release of the Berkeley DB library has a major version number, a minor#version number, and a patch number.

LThe major version number changes only when major portions of the Berkeley DBFfunctionality have been changed. In this case, it may be necessary toIsignificantly modify applications in order to upgrade them to use the newversion of the library.

NThe minor version number changes when Berkeley DB interfaces have changed, andKthe new release is not entirely backward compatible with previous releases.HTo upgrade applications to the new version, they must be recompiled, andIpotentially, minor modifications made, (e.g., the order of arguments to afunction might have changed).

CThe patch number changes on each release. If only the patch numberDhas changed in a release, applications do not need to be recompiled,Band they can be upgraded to the new version by simply installing a"new version of the shared library.

NInternal Berkeley DB interfaces may change at any time and during any release,Hwithout warning. This means that the library must be entirely recompiledGand reinstalled when upgrading to new releases of the library, as thereIis no guarantee that modules from the current version of the library will8interact correctly with modules from a previous release.

LTo retrieve the Berkeley DB version information, applications should use themdb_version interface. In addition to the above information, theldb_version interface returns a string encapsulating the version,information, suitable for display to a user.

NANÿÿ