pg_field_type
PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
pg_field_type - Returns the type name for the corresponding field number
Code Examples
Example #1 Getting information about fields
Result: Title field type: varchar