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 @@ @@ -879,7 +879,7 @@ int PQfnumber(const PGresult *res, at 0. Oid PQftype(const PGresult *res, - int field_num); + int field_index); You can query the system table pg_type to obtain the name and properties of the various datatypes. The OIDs