Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 90f53d8

Browse files
committed
Update PQserverVersion() to use 8.1.X as an example, rather than 7.4
because the function didn't exist in 7.4.X.
1 parent a770171 commit 90f53d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.217 2006/10/21 17:10:43 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.218 2006/10/21 18:25:01 momjian Exp $ -->
22

33
<chapter id="libpq">
44
<title><application>libpq</application> - C Library</title>
@@ -955,7 +955,7 @@ int PQserverVersion(const PGconn *conn);
955955
Applications may use this to determine the version of the database server they
956956
are connected to. The number is formed by converting the major, minor, and
957957
revision numbers into two-decimal-digit numbers and appending them
958-
together. For example, version 7.4.2 will be returned as 70402, and version
958+
together. For example, version 8.1.5 will be returned as 80105, and version
959959
8.1 will be returned as 80100 (leading zeroes are not shown). Zero is
960960
returned if the connection is bad.
961961
</para>

0 commit comments

Comments
 (0)