summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart2001-01-18 07:18:39 +0000
committerThomas G. Lockhart2001-01-18 07:18:39 +0000
commit6439de1752db399c862f9f440e5ec15ef5243592 (patch)
tree665631751d18bd673a510b2b533a4920f464e95d
parent26696580c41cba826165e6b7d4913615ba75c42b (diff)
Fix incorrect placeholder name in example.
-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 faf40a8e13c..a3d3a1a14ac 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.55 2001/01/13 23:58:55 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.56 2001/01/18 07:18:39 thomas Exp $
-->
<chapter id="libpq-chapter">
@@ -879,7 +879,7 @@ int PQfnumber(const PGresult *res,
at 0.
<synopsis>
Oid PQftype(const PGresult *res,
- int field_num);
+ int field_index);
</synopsis>
You can query the system table <literal>pg_type</literal> to obtain
the name and properties of the various datatypes. The <acronym>OID</acronym>s