pg_FieldSize

pg_FieldSize -- Returns the internal storage size of the named field

Description

int pg_fieldsize(int result_id, int field_number);

pg_FieldSize() will return the internal storage size (in bytes) of the field number in the given PostgreSQL result. Field numbering starts at 0. A field size of -1 indicates a variable length field. This function will return false on error.