Query Execution Functions

If the result status is PGRES_TUPLES_OK, then the following routines can be used to retrieve the tuples returned by the query.