version.html   [plain text]


<!--$Id: version.so,v 10.24 2003/11/27 18:26:01 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Library version information</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<table width="100%"><tr valign=top>
<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td>
<td align=right><a href="../build_vxworks/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade/process.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Library version information</b></p>
<p>Each release of the Berkeley DB library has a major version number, a minor
version number, and a patch number.</p>
<p>The major version number changes only when major portions of the Berkeley DB
functionality have been changed.  In this case, it may be necessary to
significantly modify applications in order to upgrade them to use the new
version of the library.</p>
<p>The minor version number changes when Berkeley DB interfaces have changed,
and the new release is not entirely backward-compatible with previous
releases.  To upgrade applications to the new version, they must be
recompiled and potentially, minor modifications made (for example, the
order of arguments to a function might have changed).</p>
<p>The patch number changes on each release.  If only the patch number has
changed in a release, applications do not need to be recompiled, and
they can be upgraded to the new version by installing the new version
of a shared library or by relinking the application to the new version
of a static library.</p>
<p>Internal Berkeley DB interfaces may change at any time and during any release,
without warning. This means that the library must be entirely recompiled
and reinstalled when upgrading to new releases of the library because
there is no guarantee that modules from the current version of the
library will interact correctly with modules from a previous release.</p>
<p>To retrieve the Berkeley DB version information, applications should use the
<a href="../../api_c/env_version.html">db_version</a> function.  In addition to the previous
information, the <a href="../../api_c/env_version.html">db_version</a> function returns a string
encapsulating the version information, suitable for display to a user.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../build_vxworks/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade/process.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>