int pg_fieldprtlen (resource result, int row_number, string field_name)
pg_fieldprtlen() returns the actual printed
length (number of characters) of a specific value in a PostgreSQL
result. Row numbering starts at 0. This
function will return -1 on an error.