pg_field_prtlen() 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.
See the example given at the pg_field_name() page.
Note: This function used to be called pg_fieldprtlen().
See also pg_field_size().