int pg_field_size ( resource $result , int $field_number )
pg_field_size() returns the internal storage size (in bytes) of the field number in the given PostgreSQL result. Note: This function used to be called pg_fieldsize().
The internal field storage size (in bytes). -1 indicates a variable length field. FALSE is returned on error.