PHP3 Manual
PrevNext

pg_FieldSize

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

Description

int pg_fieldsize(int result_id, string field_name);

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


PrevHomeNext
pg_FieldPrtLenUppg_FieldType