| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>Chapter 1. Introduction</title> |
| 7 | <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" /> |
| 10 | <link rel="up" href="index.html" title="Berkeley DB Upgrade Guide" /> |
| 11 | <link rel="prev" href="moreinfo.html" title="For More Information" /> |
| 12 | <link rel="next" href="upgrade_process.html" title="Chapter 2. Upgrading from previous versions of Berkeley DB" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">Chapter 1. Introduction</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td> |
| 25 | <th width="60%" align="center"> </th> |
| 26 | <td width="20%" align="right"> <a accesskey="n" href="upgrade_process.html">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr /> |
| 30 | </div> |
| 31 | <div class="chapter" lang="en" xml:lang="en"> |
| 32 | <div class="titlepage"> |
| 33 | <div> |
| 34 | <div> |
| 35 | <h2 class="title"><a id="introduction"></a>Chapter 1. Introduction</h2> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | <div class="toc"> |
| 40 | <p> |
| 41 | <b>Table of Contents</b> |
| 42 | </p> |
| 43 | <dl> |
| 44 | <dt> |
| 45 | <span class="sect1"> |
| 46 | <a href="introduction.html#upgrade_version">Library version information</a> |
| 47 | </span> |
| 48 | </dt> |
| 49 | </dl> |
| 50 | </div> |
| 51 | <p> |
| 52 | This manual describes how to upgrade from historical versions |
| 53 | of Berkeley DB (Berkeley DB 4.7 and older). |
| 54 | For information on upgrading newer releases |
| 55 | of the product (anything newer than DB 4.7), and on |
| 56 | building and installing Berkeley DB on all of the platforms it |
| 57 | officially supports, see the |
| 58 | |
| 59 | <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top"> |
| 60 | Berkeley DB Installation and Build Guide. |
| 61 | </a> |
| 62 | </p> |
| 63 | <div class="sect1" lang="en" xml:lang="en"> |
| 64 | <div class="titlepage"> |
| 65 | <div> |
| 66 | <div> |
| 67 | <h2 class="title" style="clear: both"><a id="upgrade_version"></a>Library version information</h2> |
| 68 | </div> |
| 69 | </div> |
| 70 | </div> |
| 71 | <p>Each release of the Berkeley DB library has a major version number, a minor |
| 72 | version number, and a patch number.</p> |
| 73 | <p>The major version number changes only when major portions of the Berkeley DB |
| 74 | functionality have been changed. In this case, it may be necessary to |
| 75 | significantly modify applications in order to upgrade them to use the new |
| 76 | version of the library.</p> |
| 77 | <p>The minor version number changes when Berkeley DB interfaces have changed, |
| 78 | and the new release is not entirely backward-compatible with previous |
| 79 | releases. To upgrade applications to the new version, they must be |
| 80 | recompiled and potentially, minor modifications made (for example, the |
| 81 | order of arguments to a function might have changed).</p> |
| 82 | <p>The patch number changes on each release. If only the patch number has |
| 83 | changed in a release, applications do not need to be recompiled, and |
| 84 | they can be upgraded to the new version by installing the new version |
| 85 | of a shared library or by relinking the application to the new version |
| 86 | of a static library.</p> |
| 87 | <p>Internal Berkeley DB interfaces may change at any time and during any release, |
| 88 | without warning. This means that the library must be entirely recompiled |
| 89 | and reinstalled when upgrading to new releases of the library because |
| 90 | there is no guarantee that modules from the current version of the |
| 91 | library will interact correctly with modules from a previous release.</p> |
| 92 | <p>To retrieve the Berkeley DB version information, applications should use the |
| 93 | <a href="../api_reference/C/envversion.html" class="olink">DB_ENV->version()</a> function. In addition to the previous |
| 94 | information, the <a href="../api_reference/C/envversion.html" class="olink">DB_ENV->version()</a> function returns a string |
| 95 | encapsulating the version information, suitable for display to a user.</p> |
| 96 | </div> |
| 97 | </div> |
| 98 | <div class="navfooter"> |
| 99 | <hr /> |
| 100 | <table width="100%" summary="Navigation footer"> |
| 101 | <tr> |
| 102 | <td width="40%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td> |
| 103 | <td width="20%" align="center"> </td> |
| 104 | <td width="40%" align="right"> <a accesskey="n" href="upgrade_process.html">Next</a></td> |
| 105 | </tr> |
| 106 | <tr> |
| 107 | <td width="40%" align="left" valign="top">For More Information </td> |
| 108 | <td width="20%" align="center"> |
| 109 | <a accesskey="h" href="index.html">Home</a> |
| 110 | </td> |
| 111 | <td width="40%" align="right" valign="top"> Chapter 2. |
| 112 | Upgrading from previous versions of Berkeley DB |
| 113 | </td> |
| 114 | </tr> |
| 115 | </table> |
| 116 | </div> |
| 117 | </body> |
| 118 | </html> |