PQbinaryTuples Function

public function PQbinaryTuples(pgresult)

Return .true. if the PQresult contains binary data and .false. if it contains text data.

This function is deprecated (except for its use in connection with COPY), because it is possible for a single PGresult to contain text data in some columns and binary data in others. PQfformat is preferred. PQbinaryTuples returns 1 only if all columns of the result are binary (format 1).

cf. PostgreSQL Documentation

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: pgresult

Return Value logical


Contents