(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Returns the type name for the corresponding field number
string pg_field_type ( resource $result, int $field_number )
pg_field_type() returns a string containing the base type name of the given field_number in the given PostgreSQL result resource.
Note:
If the field uses a PostgreSQL domain (rather than a basic type), it is the name of the domain's underlying type that is returned, rat