diff options
author | Bruce Momjian | 2006-10-21 18:25:01 +0000 |
---|---|---|
committer | Bruce Momjian | 2006-10-21 18:25:01 +0000 |
commit | bd21d411b6b3a841cb2fad48de60feed555b65fe (patch) | |
tree | 5125395a96330e9d27c91b2c7554707e78ed7ef2 | |
parent | 704ae1709a0cd9ac18da94511baaddfaac8638c0 (diff) |
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.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 86cfe81e41..7824c9ae1b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -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> |