"A.Bhuvaneswaran" <bhuvan@symonds.net> writes:
> Further you could use,
> 1) PQresultStatus(res)
> 2) PQntuples(res)
> 3) PQnfields(res)
> 4) PQgetvalue(res, n, n)
> For details, please refer the below link:
Also look at the example programs that come with libpq. In the source
distribution they are in src/test/examples/. I am not sure whether they
are included in any binary RPMs though, or where the RPMs put them if
they do have 'em ...
regards, tom lane