aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-10-21 18:25:01 +0000
committerBruce Momjian <bruce@momjian.us>2006-10-21 18:25:01 +0000
commit90f53d8487e176ec050a03b35301f37eacefe55f (patch)
tree0c7f615e1b84d4ff9b895da8424b02273e827959
parenta7701718b2d2ce71679ffd53ede0ed5c76e634e6 (diff)
downloadpostgresql-90f53d8487e176ec050a03b35301f37eacefe55f.tar.gz
postgresql-90f53d8487e176ec050a03b35301f37eacefe55f.zip
Update PQserverVersion() to use 8.1.X as an example, rather than 7.4
because the function didn't exist in 7.4.X.
-rw-r--r--doc/src/sgml/libpq.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 4d87693b30d..bebac27af5a 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.217 2006/10/21 17:10:43 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.218 2006/10/21 18:25:01 momjian Exp $ -->
<chapter id="libpq">
<title><application>libpq</application> - C Library</title>
@@ -955,7 +955,7 @@ int PQserverVersion(const PGconn *conn);
Applications may use this to determine the version of the database server they
are connected to. The number is formed by converting the major, minor, and
revision numbers into two-decimal-digit numbers and appending them
-together. For example, version 7.4.2 will be returned as 70402, and version
+together. For example, version 8.1.5 will be returned as 80105, and version
8.1 will be returned as 80100 (leading zeroes are not shown). Zero is
returned if the connection is bad.
</para>