PQfformat Function

public function PQfformat(pgresult, column_number) result(res)

Returns the format code indicating the format of the given column. Column numbers start at 0.

Format code zero indicates textual data representatiion, while format code one indicates binary representation. (Other codes are reserved for future definition.)

cf. PostgreSQL Documentation

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: pgresult
integer(kind=int32), intent(in) :: column_number

Return Value integer(kind=int32)


Contents