|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.217 2006/10/2117:10:43 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.218 2006/10/2118:25:01 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="libpq">
|
4 | 4 | <title><application>libpq</application> - C Library</title>
|
@@ -955,7 +955,7 @@ int PQserverVersion(const PGconn *conn);
|
955 | 955 | Applications may use this to determine the version of the database server they
|
956 | 956 | are connected to. The number is formed by converting the major, minor, and
|
957 | 957 | revision numbers into two-decimal-digit numbers and appending them
|
958 |
| -together. For example, version7.4.2 will be returned as70402, and version |
| 958 | +together. For example, version8.1.5 will be returned as80105, and version |
959 | 959 | 8.1 will be returned as 80100 (leading zeroes are not shown). Zero is
|
960 | 960 | returned if the connection is bad.
|
961 | 961 | </para>
|
|