string pg_field_name ( resource $result , int $field_number )
pg_field_name() returns the name of the field occupying the given field_number in the given PostgreSQL result resource. Field numbering starts from 0. Note: This function used to be called pg_fieldname().
The field name, or FALSE on error.