pg_fieldprtlen

(PHP 3, PHP 4 >= 4.0.0)

pg_fieldprtlen -- Returns the printed length

Description

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.

See also pg_fieldsize().