From 6439de1752db399c862f9f440e5ec15ef5243592 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Thu, 18 Jan 2001 07:18:39 +0000 Subject: [PATCH] Fix incorrect placeholder name in example. --- doc/src/sgml/libpq.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index faf40a8e13..a3d3a1a14a 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 -- 2.11.0