(PHP 3, PHP 4 >= 4.0b1)
pg_fieldtype --
Returns the type name for the corresponding field number
Description
string pg_fieldtype
(int result_id, int field_number)
pg_fieldtype() will return a string containing
the type name of the given field in the given PostgreSQL result
identifier. Field numbering starts at 0.